File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,17 @@ Type:
184
184
<!-- use other name to prettify since import is reserved keyword -->
185
185
186
186
``` ts
187
- type import =
187
+ type importFn =
188
188
| boolean
189
- | { filter: (url : string , media : string , resourcePath : string ) => boolean };
189
+ | {
190
+ filter: (
191
+ url : string ,
192
+ media : string ,
193
+ resourcePath : string ,
194
+ supports ? : string ,
195
+ layer ? : string
196
+ ) => boolean ;
197
+ };
190
198
```
191
199
192
200
Default: ` true `
@@ -693,11 +701,11 @@ Type:
693
701
694
702
``` ts
695
703
type mode =
696
- | " local"
697
- | " global"
698
- | " pure"
699
- | " icss"
700
- | ((resourcePath ) => " local" | " global" | " pure" | " icss" )) `
704
+ | " local"
705
+ | " global"
706
+ | " pure"
707
+ | " icss"
708
+ | ((resourcePath : string ) => " local" | " global" | " pure" | " icss" );
701
709
```
702
710
703
711
Default: ` 'local' `
You can’t perform that action at this time.
0 commit comments