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.
prefer-one-of-prop
Reports stringProp<'a' | 'b'> and numberProp<1 | 2> and suggests oneOfProp(['a', 'b'] as const) etc. instead.
require-one-of-prop-as-const
Reports use of oneOfProp([…]) without as const.
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).
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:
no-any-prop
Reports use of
anyProp
.prefer-array-prop
Reports
objectProp<User[]>
and suggestsarrayProp<User>
instead.prefer-one-of-prop
Reports
stringProp<'a' | 'b'>
andnumberProp<1 | 2>
and suggestsoneOfProp(['a', 'b'] as const)
etc. instead.require-one-of-prop-as-const
Reports use of
oneOfProp([…])
withoutas const
.require-type-parameter
Reports use of prop functions without type parameter (by default only for
arrayProp
,objectProp
,functionProp
andoneOfTypesProp
, but others can be configured).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: