From 4b8b0c861ea878887d922e3c05cf0ca3d9bd7981 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Wed, 16 Dec 2020 11:31:39 -0800 Subject: [PATCH] Fix post-LKG API baselines (#41973) --- src/compiler/corePublic.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compiler/corePublic.ts b/src/compiler/corePublic.ts index 0f4d7f69749..31c852bdee6 100644 --- a/src/compiler/corePublic.ts +++ b/src/compiler/corePublic.ts @@ -2,8 +2,10 @@ namespace ts { // WARNING: The script `configurePrerelease.ts` uses a regexp to parse out these values. // If changing the text in this section, be sure to test `configurePrerelease` too. export const versionMajorMinor = "4.2"; + // The following is baselined as a literal template type without intervention /** The version of the TypeScript compiler release */ - export const version = `${versionMajorMinor}.0-dev`; + // eslint-disable-next-line @typescript-eslint/no-inferrable-types + export const version: string = `${versionMajorMinor}.0-dev`; /** * Type of objects whose values are all of the same type.