File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ const disabledApplyStylesModifier = {
1212} ;
1313
1414// until docjs supports type exports...
15- export type Modifier < Name , Options > = Popper . Modifier < Name , Options > ;
15+ export type Modifier < Name , Options extends Popper . Obj > = Popper . Modifier <
16+ Name ,
17+ Options
18+ > ;
1619export type Options = Popper . Options ;
1720export type Instance = Popper . Instance ;
1821export type Placement = Popper . Placement ;
@@ -55,7 +58,10 @@ export interface UsePopperState {
5558 state ?: State ;
5659}
5760
58- const ariaDescribedByModifier : Modifier < 'ariaDescribedBy' , undefined > = {
61+ const ariaDescribedByModifier : Modifier <
62+ 'ariaDescribedBy' ,
63+ Record < string , never >
64+ > = {
5965 name : 'ariaDescribedBy' ,
6066 enabled : true ,
6167 phase : 'afterWrite' ,
You can’t perform that action at this time.
0 commit comments