Skip to content

Commit 3fb48d3

Browse files
committed
@typescript-eslint/no-inferrable-types
1 parent a96a08a commit 3fb48d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@typescript-eslint/no-angle-bracket-type-assertion": "off",
3131
"@typescript-eslint/no-empty-interface": "off",
3232
"@typescript-eslint/no-explicit-any": "off",
33-
"@typescript-eslint/no-inferrable-types": "off",
33+
"@typescript-eslint/no-inferrable-types": "error",
3434
"@typescript-eslint/no-misused-new": "error",
3535
"@typescript-eslint/no-namespace": "off",
3636
"@typescript-eslint/no-object-literal-type-assertion": "off",

scripts/errorCheck.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fs.readFile('src/compiler/diagnosticInformationMap.generated.ts', 'utf-8', (err,
5959
errorNames.push(errMatch[1]);
6060
}
6161

62-
let allSrc: string = '';
62+
let allSrc = '';
6363
glob('./src/**/*.ts', {}, (err, files) => {
6464
console.log('Reading ' + files.length + ' source files');
6565
for (let file of files) {

scripts/word2md.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ interface FindReplaceOptions {
177177

178178
function convertDocumentToMarkdown(doc: Word.Document): string {
179179

180-
var result: string = "";
180+
var result = "";
181181
var lastStyle: string;
182182
var lastInTable: boolean;
183183
var tableColumnCount: number;

0 commit comments

Comments
 (0)