Open
Description
Overview
@typescript-eslint/ban-types
has a fixWith
option for types. https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-types.md
Actual Behavior
That fixWith
might go away if two rule arguments types
lists are merged and the second doesn't have it.
First:
{
types: [
{
fixWith: "number",
typeName: "Number",
},
];
}
Second:
{
types: [
{
typeName: "Number",
},
];
}
Output:
{
types: [
{
typeName: "Number",
},
];
}
Expected Behavior
The output should include fixWith
if it exists.