@@ -236,6 +236,7 @@ export type SwitchCaseBracesConfig = "always" | "avoid";
236236export type CaseType = "PascalCase" | "kebab-case" ;
237237export type DeclarationStyle = "type-based" | "type-literal" | "runtime" ;
238238export type DeclarationStyle2 = "type-based" | "runtime" ;
239+ export type Destructure = "only-when-assigned" | "always" | "never" ;
239240export type NextTickOption = "promise" | "callback" ;
240241export type CaseType2 = "camelCase" | "snake_case" ;
241242export type AllowYoda = "never" | "always" ;
@@ -1606,7 +1607,7 @@ export interface DummyRuleMap {
16061607 "vue/component-definition-name-casing" ?: AllowWarnDeny | [ AllowWarnDeny ] | [ AllowWarnDeny , CaseType ] ;
16071608 "vue/define-emits-declaration" ?: AllowWarnDeny | [ AllowWarnDeny ] | [ AllowWarnDeny , DeclarationStyle ] ;
16081609 "vue/define-props-declaration" ?: AllowWarnDeny | [ AllowWarnDeny ] | [ AllowWarnDeny , DeclarationStyle2 ] ;
1609- "vue/define-props-destructuring" ?: DummyRule ;
1610+ "vue/define-props-destructuring" ?: AllowWarnDeny | [ AllowWarnDeny ] | [ AllowWarnDeny , DefinePropsDestructuring ] ;
16101611 "vue/max-props" ?: AllowWarnDeny | [ AllowWarnDeny ] | [ AllowWarnDeny , MaxProps ] ;
16111612 "vue/next-tick-style" ?: AllowWarnDeny | [ AllowWarnDeny ] | [ AllowWarnDeny , NextTickOption ] ;
16121613 "vue/no-arrow-functions-in-watch" ?: RuleNoConfig ;
@@ -5185,6 +5186,12 @@ export interface RequireMockTypeParametersConfig {
51855186 */
51865187 checkImportFunctions ?: boolean ;
51875188}
5189+ export interface DefinePropsDestructuring {
5190+ /**
5191+ * Require or prohibit destructuring.
5192+ */
5193+ destructure ?: Destructure ;
5194+ }
51885195export interface MaxProps {
51895196 /**
51905197 * The maximum number of props allowed in a Vue SFC.
0 commit comments