mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 01:43:59 -05:00
Disable no-inferrable-types eslint rule (#58306)
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
"varsIgnorePattern": "^(_+$|_[^_])"
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-inferrable-types": "off",
|
||||
|
||||
// Pending https://github.com/typescript-eslint/typescript-eslint/issues/4820
|
||||
"@typescript-eslint/prefer-optional-chain": "off",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
export const versionMajorMinor = "5.5";
|
||||
// The following is baselined as a literal template type without intervention
|
||||
/** The version of the TypeScript compiler release */
|
||||
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
||||
export const version: string = `${versionMajorMinor}.0-dev`;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user