Skip to content

Commit

Permalink
fix(types): widen allowed script options for 3.3 features
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 12, 2023
1 parent b1793d8 commit 3ac08e4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/plugin-vue/src/index.ts
Expand Up @@ -30,7 +30,16 @@ export interface Options {
isProduction?: boolean

// options to pass on to vue/compiler-sfc
script?: Partial<Pick<SFCScriptCompileOptions, 'babelParserPlugins'>>
script?: Partial<
Pick<
SFCScriptCompileOptions,
| 'babelParserPlugins'
| 'defineModel'
| 'propsDestructure'
| 'fs'
| 'reactivityTransform'
>
>
template?: Partial<
Pick<
SFCTemplateCompileOptions,
Expand Down

0 comments on commit 3ac08e4

Please sign in to comment.