File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
packages/autocomplete-core/src/types Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ export type AutocompleteContext = {
2+ [ key : string ] : unknown ;
3+ } ;
Original file line number Diff line number Diff line change 11import { BaseItem } from './AutocompleteApi' ;
22import { AutocompleteCollection } from './AutocompleteCollection' ;
3+ import { AutocompleteContext } from './AutocompleteContext' ;
34
45export interface AutocompleteState < TItem extends BaseItem > {
56 selectedItemId : number | null ;
@@ -8,5 +9,5 @@ export interface AutocompleteState<TItem extends BaseItem> {
89 collections : Array < AutocompleteCollection < TItem > > ;
910 isOpen : boolean ;
1011 status : 'idle' | 'loading' | 'stalled' | 'error' ;
11- context : { [ key : string ] : unknown } ;
12+ context : AutocompleteContext ;
1213}
Original file line number Diff line number Diff line change 11export * from './AutocompleteApi' ;
22export * from './AutocompleteCollection' ;
3+ export * from './AutocompleteContext' ;
34export * from './AutocompleteEnvironment' ;
45export * from './AutocompleteOptions' ;
56export * from './AutocompleteSource' ;
You can’t perform that action at this time.
0 commit comments