You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reports objectProp<User[]> and suggests arrayProp<User> instead.
vue-ts-types/prefer-one-of-prop
Reports stringProp<'a' | 'b'> and numberProp<1 | 2> and suggests oneOfProp(['a', 'b'] as const) etc. instead.
vue-ts-types/require-one-of-prop-as-const
Reports use of oneOfProp([…]) without as const.
vue-ts-types/require-type-parameter
Reports use of prop functions without type parameter (by default only for arrayProp, objectProp, functionProp and oneOfTypesProp, but others can be configured).
vue-ts-types/require-vue-ts-types
Reports where vue-ts-types is not used (but should); autofix would be very helpful.
The text was updated successfully, but these errors were encountered:
Package name:
eslint-plugin-vue-ts-types
Possible rules:
vue-ts-types/no-any-prop
vue-ts-types/prefer-array-prop
vue-ts-types/prefer-one-of-prop
vue-ts-types/require-one-of-prop-as-const
vue-ts-types/require-type-parameter
vue-ts-types/require-vue-ts-types
The text was updated successfully, but these errors were encountered: