Insiders updates and LKG

This commit is contained in:
Daniel Rosenwasser
2022-02-25 02:57:40 +00:00
committed by GitHub
parent 78ee4cacaf
commit 6acfd1ffb2
9 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
var ts;
(function (ts) {
ts.versionMajorMinor = "4.6";
ts.version = "4.6.2";
ts.version = "".concat(ts.versionMajorMinor, ".2-insiders.20220225");
var NativeCollections;
(function (NativeCollections) {
var globals = typeof globalThis !== "undefined" ? globalThis :
@@ -96226,7 +96226,7 @@ var ts;
return resolvedRef;
}
function verifyCompilerOptions() {
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
var isNightly = ts.stringContains(ts.version, "-dev");
if (!isNightly) {
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
+2 -2
View File
@@ -100,7 +100,7 @@ var ts;
// 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
ts.version = "4.6.2";
ts.version = "".concat(ts.versionMajorMinor, ".2-insiders.20220225");
/* @internal */
var Comparison;
(function (Comparison) {
@@ -116573,7 +116573,7 @@ var ts;
return resolvedRef;
}
function verifyCompilerOptions() {
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
var isNightly = ts.stringContains(ts.version, "-dev");
if (!isNightly) {
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
+2 -2
View File
@@ -294,7 +294,7 @@ var ts;
// 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
ts.version = "4.6.2";
ts.version = "".concat(ts.versionMajorMinor, ".2-insiders.20220225");
/* @internal */
var Comparison;
(function (Comparison) {
@@ -116767,7 +116767,7 @@ var ts;
return resolvedRef;
}
function verifyCompilerOptions() {
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
var isNightly = ts.stringContains(ts.version, "-dev");
if (!isNightly) {
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
+2 -2
View File
@@ -294,7 +294,7 @@ var ts;
// 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
ts.version = "4.6.2";
ts.version = "".concat(ts.versionMajorMinor, ".2-insiders.20220225");
/* @internal */
var Comparison;
(function (Comparison) {
@@ -116767,7 +116767,7 @@ var ts;
return resolvedRef;
}
function verifyCompilerOptions() {
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
var isNightly = ts.stringContains(ts.version, "-dev");
if (!isNightly) {
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
+2 -2
View File
@@ -294,7 +294,7 @@ var ts;
// 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
ts.version = "4.6.2";
ts.version = "".concat(ts.versionMajorMinor, ".2-insiders.20220225");
/* @internal */
var Comparison;
(function (Comparison) {
@@ -116767,7 +116767,7 @@ var ts;
return resolvedRef;
}
function verifyCompilerOptions() {
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
var isNightly = ts.stringContains(ts.version, "-dev");
if (!isNightly) {
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
+2 -2
View File
@@ -89,7 +89,7 @@ var ts;
// 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
ts.version = "4.6.2";
ts.version = "".concat(ts.versionMajorMinor, ".2-insiders.20220225");
/* @internal */
var Comparison;
(function (Comparison) {
@@ -116562,7 +116562,7 @@ var ts;
return resolvedRef;
}
function verifyCompilerOptions() {
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
var isNightly = ts.stringContains(ts.version, "-dev");
if (!isNightly) {
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
+2 -2
View File
@@ -2,7 +2,7 @@
"name": "typescript",
"author": "Microsoft Corp.",
"homepage": "https://www.typescriptlang.org/",
"version": "4.6.2",
"version": "4.6.2-insiders.20220225",
"license": "Apache-2.0",
"description": "TypeScript is a language for application scale JavaScript development",
"keywords": [
@@ -129,4 +129,4 @@
"volta": {
"node": "14.15.5"
}
}
}
+1 -1
View File
@@ -5,7 +5,7 @@ namespace ts {
// 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 = "4.6.2" as string;
export const version: string = `${versionMajorMinor}.2-insiders.20220225`;
/**
* Type of objects whose values are all of the same type.
+1 -1
View File
@@ -3266,7 +3266,7 @@ namespace ts {
}
function verifyCompilerOptions() {
const isNightly = stringContains(version, "-dev") || stringContains(version, "-insiders");
const isNightly = stringContains(version, "-dev");
if (!isNightly) {
if (getEmitModuleKind(options) === ModuleKind.Node12) {
createOptionValueDiagnostic("module", Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");