Skip to content

Commit

Permalink
chore: deprecate defineModel option
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 12, 2023
1 parent 0fbc4a4 commit 0d52a27
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/plugin-vue/src/index.ts
Expand Up @@ -41,12 +41,17 @@ export interface Options {
SFCScriptCompileOptions,
| 'babelParserPlugins'
| 'globalTypeFiles'
| 'defineModel'
| 'propsDestructure'
| 'fs'
| 'hoistStatic'
>
>
> & {
/**
* @deprecated defineModel is now a stable feature and always enabled if
* using Vue 3.4 or above.
*/
defineModel?: boolean
}
template?: Partial<
Pick<
SFCTemplateCompileOptions,
Expand Down

0 comments on commit 0d52a27

Please sign in to comment.