We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1198bae commit 439bbf8Copy full SHA for 439bbf8
src/compiler/preprocess/types.ts
@@ -40,3 +40,10 @@ export interface PreprocessorGroup {
40
style?: Preprocessor;
41
script?: Preprocessor;
42
}
43
+
44
+export interface SveltePreprocessor<
45
+ PreprocessorType extends keyof PreprocessorGroup,
46
+ Options = any
47
+> {
48
+ (options?: Options): Required<Pick<PreprocessorGroup, PreprocessorType>>;
49
+}
0 commit comments