Skip to content

Commit 3ac08e4

Browse files
committed
fix(types): widen allowed script options for 3.3 features
1 parent b1793d8 commit 3ac08e4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/plugin-vue/src/index.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,16 @@ export interface Options {
3030
isProduction?: boolean
3131

3232
// options to pass on to vue/compiler-sfc
33-
script?: Partial<Pick<SFCScriptCompileOptions, 'babelParserPlugins'>>
33+
script?: Partial<
34+
Pick<
35+
SFCScriptCompileOptions,
36+
| 'babelParserPlugins'
37+
| 'defineModel'
38+
| 'propsDestructure'
39+
| 'fs'
40+
| 'reactivityTransform'
41+
>
42+
>
3443
template?: Partial<
3544
Pick<
3645
SFCTemplateCompileOptions,

0 commit comments

Comments
 (0)