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 = {
12
12
} ;
13
13
14
14
// 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
+ > ;
16
19
export type Options = Popper . Options ;
17
20
export type Instance = Popper . Instance ;
18
21
export type Placement = Popper . Placement ;
@@ -55,7 +58,10 @@ export interface UsePopperState {
55
58
state ?: State ;
56
59
}
57
60
58
- const ariaDescribedByModifier : Modifier < 'ariaDescribedBy' , undefined > = {
61
+ const ariaDescribedByModifier : Modifier <
62
+ 'ariaDescribedBy' ,
63
+ Record < string , never >
64
+ > = {
59
65
name : 'ariaDescribedBy' ,
60
66
enabled : true ,
61
67
phase : 'afterWrite' ,
You can’t perform that action at this time.
0 commit comments