From 49762119f32ae5cd5def792103e6d87ab2678cfb Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 24 Apr 2024 09:57:17 -0700 Subject: [PATCH] Disable no-inferrable-types eslint rule (#58306) --- .eslintrc.json | 1 + src/compiler/corePublic.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 7f92febda30..668bbad5229 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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", diff --git a/src/compiler/corePublic.ts b/src/compiler/corePublic.ts index ff085aeabfe..b668bbd7a21 100644 --- a/src/compiler/corePublic.ts +++ b/src/compiler/corePublic.ts @@ -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`; /**