mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Insiders updates and LKG
This commit is contained in:
committed by
GitHub
parent
78ee4cacaf
commit
6acfd1ffb2
+2
-2
@@ -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
@@ -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");
|
||||
|
||||
@@ -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
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user