We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3afd2d2 commit 3874d87Copy full SHA for 3874d87
src/rules/converters/ban-types.ts
@@ -5,7 +5,7 @@ export const convertBanTypes: RuleConverter = tslintRule => {
5
message: string;
6
};
7
8
- const bannedTypesObj: { [key: string]: ConvertBanTypeArgument | null } = {};
+ const bannedTypesObj: Record<string, ConvertBanTypeArgument | null> = {};
9
10
for (const rule of tslintRule.ruleArguments) {
11
const typ = rule[0];
0 commit comments