Skip to content

Commit 0d52a27

Browse files
committed
chore: deprecate defineModel option
1 parent 0fbc4a4 commit 0d52a27

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/plugin-vue/src/index.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,17 @@ export interface Options {
4141
SFCScriptCompileOptions,
4242
| 'babelParserPlugins'
4343
| 'globalTypeFiles'
44-
| 'defineModel'
4544
| 'propsDestructure'
4645
| 'fs'
4746
| 'hoistStatic'
4847
>
49-
>
48+
> & {
49+
/**
50+
* @deprecated defineModel is now a stable feature and always enabled if
51+
* using Vue 3.4 or above.
52+
*/
53+
defineModel?: boolean
54+
}
5055
template?: Partial<
5156
Pick<
5257
SFCTemplateCompileOptions,

0 commit comments

Comments
 (0)