consistent-named-tuples
Requires that if one or more tuple elements are named, all of them are named.
Rule Details
// Bad
type MyTuple = [arg1: string, number];
// Good
type MyTuple = [arg1: string, arg2: number];
Options and Defaults
{
"rules": {
"complete/consistent-named-tuples": "error"
}
}
This rule is not configurable.