Skip to content

Commit

Permalink
fix: missing typescript declaration for globalTypeFiles (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Disservin authored Jul 25, 2023
1 parent 93c444c commit 1e8d16e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/plugin-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,18 @@ export interface Options {
isProduction?: boolean

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

template?: Partial<
Pick<
SFCTemplateCompileOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/plugin-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface Options {
Pick<
SFCScriptCompileOptions,
| 'babelParserPlugins'
| 'globalTypeFiles'
| 'defineModel'
| 'propsDestructure'
| 'fs'
Expand Down

0 comments on commit 1e8d16e

Please sign in to comment.