Skip to content

Commit 4976211

Browse files
authored
Disable no-inferrable-types eslint rule (#58306)
1 parent 0b71b81 commit 4976211

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
"varsIgnorePattern": "^(_+$|_[^_])"
128128
}
129129
],
130+
"@typescript-eslint/no-inferrable-types": "off",
130131

131132
// Pending https://github.com/typescript-eslint/typescript-eslint/issues/4820
132133
"@typescript-eslint/prefer-optional-chain": "off",

src/compiler/corePublic.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
export const versionMajorMinor = "5.5";
44
// The following is baselined as a literal template type without intervention
55
/** The version of the TypeScript compiler release */
6-
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
76
export const version: string = `${versionMajorMinor}.0-dev`;
87

98
/**

0 commit comments

Comments
 (0)