File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ interface Transformers {
27
27
postcss ?: TransformerOptions < Options . Postcss > ;
28
28
coffeescript ?: TransformerOptions < Options . Coffeescript > ;
29
29
pug ?: TransformerOptions < Options . Pug > ;
30
- globalStyle ?: TransformerOptions < Options . Typescript > ;
31
- globalRule ?: TransformerOptions < Options . Typescript > ;
30
+ globalStyle ?: TransformerOptions ;
31
+ globalRule ?: TransformerOptions ;
32
32
replace ?: Options . Replace ;
33
- [ languageName : string ] : TransformerOptions < any > ;
33
+ [ languageName : string ] : TransformerOptions ;
34
34
}
35
35
36
36
type AutoPreprocessOptions = {
@@ -65,7 +65,7 @@ type AutoPreprocessOptions = {
65
65
| Promise < string >
66
66
| [ string , string ] [ ]
67
67
| string [ ]
68
- | TransformerOptions < any > ;
68
+ | TransformerOptions ;
69
69
} ;
70
70
71
71
const SVELTE_MAJOR_VERSION = + version [ 0 ] ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export type Transformer<T> = (
33
33
args : TransformerArgs < T > ,
34
34
) => Processed | Promise < Processed > ;
35
35
36
- export type TransformerOptions < T > =
36
+ export type TransformerOptions < T = any > =
37
37
| boolean
38
38
| Record < string , any >
39
39
| Transformer < T > ;
You can’t perform that action at this time.
0 commit comments