Browse Source

fix: remove useless adapter declare of select

pointhalo 2 years ago
parent
commit
5b663961f0
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/semi-foundation/select/foundation.ts

+ 0 - 1
packages/semi-foundation/select/foundation.ts

@@ -11,7 +11,6 @@ import { handlePrevent } from '../utils/a11y';
 
 export interface SelectAdapter<P = Record<string, any>, S = Record<string, any>> extends DefaultAdapter<P, S> {
     getTriggerWidth(): number;
-    setOptionsWidth(): void;
     updateFocusState(focus: boolean): void;
     focusTrigger(): void;
     unregisterClickOutsideHandler(): void;