Skip to content

Commit 1e8d16e

Browse files
authored
fix: missing typescript declaration for globalTypeFiles (#189)
1 parent 93c444c commit 1e8d16e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

packages/plugin-vue/README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,18 @@ export interface Options {
2323
isProduction?: boolean
2424

2525
// options to pass on to vue/compiler-sfc
26-
script?: Partial<Pick<SFCScriptCompileOptions, 'babelParserPlugins'>>
26+
script?: Partial<
27+
Pick<
28+
SFCScriptCompileOptions,
29+
| 'babelParserPlugins'
30+
| 'globalTypeFiles'
31+
| 'defineModel'
32+
| 'propsDestructure'
33+
| 'fs'
34+
| 'reactivityTransform'
35+
>
36+
>
37+
2738
template?: Partial<
2839
Pick<
2940
SFCTemplateCompileOptions,

packages/plugin-vue/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export interface Options {
3434
Pick<
3535
SFCScriptCompileOptions,
3636
| 'babelParserPlugins'
37+
| 'globalTypeFiles'
3738
| 'defineModel'
3839
| 'propsDestructure'
3940
| 'fs'

0 commit comments

Comments
 (0)