Skip to content

Commit 990f338

Browse files
authored
fix(plugin-vue): mark SFC compiler options as Partial (#1316)
1 parent 96d21ce commit 990f338

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/plugin-vue/src/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export interface Options {
4141
isProduction?: boolean
4242

4343
// options to pass on to @vue/compiler-sfc
44-
script?: SFCScriptCompileOptions
45-
template?: SFCTemplateCompileOptions
46-
style?: SFCStyleCompileOptions
44+
script?: Partial<SFCScriptCompileOptions>
45+
template?: Partial<SFCTemplateCompileOptions>
46+
style?: Partial<SFCStyleCompileOptions>
4747
}
4848

4949
export interface ResolvedOptions extends Options {

0 commit comments

Comments
 (0)