Skip to content

Commit c23c63a

Browse files
benmccanntaylorzane
authored andcommitted
fix(types): specify CompleOptions.generate values (sveltejs#5321)
1 parent 7fb3854 commit c23c63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/interfaces.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export interface CompileOptions {
108108
format?: ModuleFormat;
109109
name?: string;
110110
filename?: string;
111-
generate?: string | false;
111+
generate?: 'dom' | 'ssr' | false;
112112

113113
outputFilename?: string;
114114
cssOutputFilename?: string;
@@ -166,4 +166,4 @@ export interface Var {
166166
export interface CssResult {
167167
code: string;
168168
map: SourceMap;
169-
}
169+
}

0 commit comments

Comments
 (0)