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 2484ace commit 7e07c8eCopy full SHA for 7e07c8e
src/compiler/preprocess/types.ts
@@ -19,8 +19,8 @@ export interface Processed {
19
20
export type MarkupPreprocessor = (options: {
21
content: string;
22
- filename: string;
23
-}) => Processed | Promise<Processed>;
+ filename?: string;
+}) => Processed | void | Promise<Processed | void>;
24
25
export type Preprocessor = (options: {
26
/**
@@ -33,7 +33,7 @@ export type Preprocessor = (options: {
33
*/
34
markup: string;
35
filename?: string;
36
37
38
export interface PreprocessorGroup {
39
markup?: MarkupPreprocessor;
0 commit comments