Skip to content

Commit

Permalink
Bump version to 4.7.2 and LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed May 19, 2022
1 parent 114e310 commit cfd1a6e
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion lib/cancellationToken.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions lib/tsc.js
Expand Up @@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
var ts;
(function (ts) {
ts.versionMajorMinor = "4.7";
ts.version = "".concat(ts.versionMajorMinor, ".1-rc");
ts.version = "4.7.2";
var NativeCollections;
(function (NativeCollections) {
var globals = typeof globalThis !== "undefined" ? globalThis :
Expand Down Expand Up @@ -48703,9 +48703,9 @@ var ts;
t.flags & 2097152 ? getApparentTypeOfIntersectionType(t) :
t.flags & 402653316 ? globalStringType :
t.flags & 296 ? globalNumberType :
t.flags & 2112 ? getGlobalBigIntType(languageVersion >= 7) :
t.flags & 2112 ? getGlobalBigIntType() :
t.flags & 528 ? globalBooleanType :
t.flags & 12288 ? getGlobalESSymbolType(languageVersion >= 2) :
t.flags & 12288 ? getGlobalESSymbolType() :
t.flags & 67108864 ? emptyObjectType :
t.flags & 4194304 ? keyofConstraintType :
t.flags & 2 && !strictNullChecks ? emptyObjectType :
Expand Down Expand Up @@ -50103,8 +50103,8 @@ var ts;
function getGlobalESSymbolConstructorTypeSymbol(reportErrors) {
return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol("SymbolConstructor", reportErrors));
}
function getGlobalESSymbolType(reportErrors) {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", 0, reportErrors))) || emptyObjectType;
function getGlobalESSymbolType() {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", 0, false))) || emptyObjectType;
}
function getGlobalPromiseType(reportErrors) {
return (deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType("Promise", 1, reportErrors))) || emptyGenericType;
Expand Down Expand Up @@ -50165,8 +50165,8 @@ var ts;
deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol("Awaited", 1, reportErrors) || (reportErrors ? unknownSymbol : undefined));
return deferredGlobalAwaitedSymbol === unknownSymbol ? undefined : deferredGlobalAwaitedSymbol;
}
function getGlobalBigIntType(reportErrors) {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", 0, reportErrors))) || emptyObjectType;
function getGlobalBigIntType() {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", 0, false))) || emptyObjectType;
}
function createTypeFromGenericGlobalType(genericGlobalType, typeArguments) {
return genericGlobalType !== emptyGenericType ? createTypeReference(genericGlobalType, typeArguments) : emptyObjectType;
Expand Down Expand Up @@ -53872,7 +53872,7 @@ var ts;
if ((globalStringType === source && stringType === target) ||
(globalNumberType === source && numberType === target) ||
(globalBooleanType === source && booleanType === target) ||
(getGlobalESSymbolType(false) === source && esSymbolType === target)) {
(getGlobalESSymbolType() === source && esSymbolType === target)) {
reportError(ts.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType);
}
}
Expand Down Expand Up @@ -69114,7 +69114,7 @@ var ts;
if (ts.isIdentifier(childNode)) {
var childSymbol = getSymbolAtLocation(childNode);
if (childSymbol && childSymbol === testedSymbol) {
if (ts.isIdentifier(expr)) {
if (ts.isIdentifier(expr) || ts.isIdentifier(testedNode) && ts.isBinaryExpression(testedNode.parent)) {
return true;
}
var testedExpression = testedNode.parent;
Expand Down
18 changes: 9 additions & 9 deletions lib/tsserver.js
Expand Up @@ -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 = "".concat(ts.versionMajorMinor, ".1-rc");
ts.version = "4.7.2";
/* @internal */
var Comparison;
(function (Comparison) {
Expand Down Expand Up @@ -58896,9 +58896,9 @@ var ts;
t.flags & 2097152 /* TypeFlags.Intersection */ ? getApparentTypeOfIntersectionType(t) :
t.flags & 402653316 /* TypeFlags.StringLike */ ? globalStringType :
t.flags & 296 /* TypeFlags.NumberLike */ ? globalNumberType :
t.flags & 2112 /* TypeFlags.BigIntLike */ ? getGlobalBigIntType(/*reportErrors*/ languageVersion >= 7 /* ScriptTarget.ES2020 */) :
t.flags & 2112 /* TypeFlags.BigIntLike */ ? getGlobalBigIntType() :
t.flags & 528 /* TypeFlags.BooleanLike */ ? globalBooleanType :
t.flags & 12288 /* TypeFlags.ESSymbolLike */ ? getGlobalESSymbolType(/*reportErrors*/ languageVersion >= 2 /* ScriptTarget.ES2015 */) :
t.flags & 12288 /* TypeFlags.ESSymbolLike */ ? getGlobalESSymbolType() :
t.flags & 67108864 /* TypeFlags.NonPrimitive */ ? emptyObjectType :
t.flags & 4194304 /* TypeFlags.Index */ ? keyofConstraintType :
t.flags & 2 /* TypeFlags.Unknown */ && !strictNullChecks ? emptyObjectType :
Expand Down Expand Up @@ -60473,8 +60473,8 @@ var ts;
function getGlobalESSymbolConstructorTypeSymbol(reportErrors) {
return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol("SymbolConstructor", reportErrors));
}
function getGlobalESSymbolType(reportErrors) {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", /*arity*/ 0, reportErrors))) || emptyObjectType;
function getGlobalESSymbolType() {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", /*arity*/ 0, /*reportErrors*/ false))) || emptyObjectType;
}
function getGlobalPromiseType(reportErrors) {
return (deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType("Promise", /*arity*/ 1, reportErrors))) || emptyGenericType;
Expand Down Expand Up @@ -60538,8 +60538,8 @@ var ts;
deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol("Awaited", /*arity*/ 1, reportErrors) || (reportErrors ? unknownSymbol : undefined));
return deferredGlobalAwaitedSymbol === unknownSymbol ? undefined : deferredGlobalAwaitedSymbol;
}
function getGlobalBigIntType(reportErrors) {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", /*arity*/ 0, reportErrors))) || emptyObjectType;
function getGlobalBigIntType() {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", /*arity*/ 0, /*reportErrors*/ false))) || emptyObjectType;
}
/**
* Instantiates a global type that is generic with some element type, and returns that instantiation.
Expand Down Expand Up @@ -64691,7 +64691,7 @@ var ts;
if ((globalStringType === source && stringType === target) ||
(globalNumberType === source && numberType === target) ||
(globalBooleanType === source && booleanType === target) ||
(getGlobalESSymbolType(/*reportErrors*/ false) === source && esSymbolType === target)) {
(getGlobalESSymbolType() === source && esSymbolType === target)) {
reportError(ts.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType);
}
}
Expand Down Expand Up @@ -82503,7 +82503,7 @@ var ts;
var childSymbol = getSymbolAtLocation(childNode);
if (childSymbol && childSymbol === testedSymbol) {
// If the test was a simple identifier, the above check is sufficient
if (ts.isIdentifier(expr)) {
if (ts.isIdentifier(expr) || ts.isIdentifier(testedNode) && ts.isBinaryExpression(testedNode.parent)) {
return true;
}
// Otherwise we need to ensure the symbol is called on the same target
Expand Down
18 changes: 9 additions & 9 deletions lib/tsserverlibrary.js
Expand Up @@ -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 = "".concat(ts.versionMajorMinor, ".1-rc");
ts.version = "4.7.2";
/* @internal */
var Comparison;
(function (Comparison) {
Expand Down Expand Up @@ -59090,9 +59090,9 @@ var ts;
t.flags & 2097152 /* TypeFlags.Intersection */ ? getApparentTypeOfIntersectionType(t) :
t.flags & 402653316 /* TypeFlags.StringLike */ ? globalStringType :
t.flags & 296 /* TypeFlags.NumberLike */ ? globalNumberType :
t.flags & 2112 /* TypeFlags.BigIntLike */ ? getGlobalBigIntType(/*reportErrors*/ languageVersion >= 7 /* ScriptTarget.ES2020 */) :
t.flags & 2112 /* TypeFlags.BigIntLike */ ? getGlobalBigIntType() :
t.flags & 528 /* TypeFlags.BooleanLike */ ? globalBooleanType :
t.flags & 12288 /* TypeFlags.ESSymbolLike */ ? getGlobalESSymbolType(/*reportErrors*/ languageVersion >= 2 /* ScriptTarget.ES2015 */) :
t.flags & 12288 /* TypeFlags.ESSymbolLike */ ? getGlobalESSymbolType() :
t.flags & 67108864 /* TypeFlags.NonPrimitive */ ? emptyObjectType :
t.flags & 4194304 /* TypeFlags.Index */ ? keyofConstraintType :
t.flags & 2 /* TypeFlags.Unknown */ && !strictNullChecks ? emptyObjectType :
Expand Down Expand Up @@ -60667,8 +60667,8 @@ var ts;
function getGlobalESSymbolConstructorTypeSymbol(reportErrors) {
return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol("SymbolConstructor", reportErrors));
}
function getGlobalESSymbolType(reportErrors) {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", /*arity*/ 0, reportErrors))) || emptyObjectType;
function getGlobalESSymbolType() {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", /*arity*/ 0, /*reportErrors*/ false))) || emptyObjectType;
}
function getGlobalPromiseType(reportErrors) {
return (deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType("Promise", /*arity*/ 1, reportErrors))) || emptyGenericType;
Expand Down Expand Up @@ -60732,8 +60732,8 @@ var ts;
deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol("Awaited", /*arity*/ 1, reportErrors) || (reportErrors ? unknownSymbol : undefined));
return deferredGlobalAwaitedSymbol === unknownSymbol ? undefined : deferredGlobalAwaitedSymbol;
}
function getGlobalBigIntType(reportErrors) {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", /*arity*/ 0, reportErrors))) || emptyObjectType;
function getGlobalBigIntType() {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", /*arity*/ 0, /*reportErrors*/ false))) || emptyObjectType;
}
/**
* Instantiates a global type that is generic with some element type, and returns that instantiation.
Expand Down Expand Up @@ -64885,7 +64885,7 @@ var ts;
if ((globalStringType === source && stringType === target) ||
(globalNumberType === source && numberType === target) ||
(globalBooleanType === source && booleanType === target) ||
(getGlobalESSymbolType(/*reportErrors*/ false) === source && esSymbolType === target)) {
(getGlobalESSymbolType() === source && esSymbolType === target)) {
reportError(ts.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType);
}
}
Expand Down Expand Up @@ -82697,7 +82697,7 @@ var ts;
var childSymbol = getSymbolAtLocation(childNode);
if (childSymbol && childSymbol === testedSymbol) {
// If the test was a simple identifier, the above check is sufficient
if (ts.isIdentifier(expr)) {
if (ts.isIdentifier(expr) || ts.isIdentifier(testedNode) && ts.isBinaryExpression(testedNode.parent)) {
return true;
}
// Otherwise we need to ensure the symbol is called on the same target
Expand Down
18 changes: 9 additions & 9 deletions lib/typescript.js
Expand Up @@ -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 = "".concat(ts.versionMajorMinor, ".1-rc");
ts.version = "4.7.2";
/* @internal */
var Comparison;
(function (Comparison) {
Expand Down Expand Up @@ -59090,9 +59090,9 @@ var ts;
t.flags & 2097152 /* TypeFlags.Intersection */ ? getApparentTypeOfIntersectionType(t) :
t.flags & 402653316 /* TypeFlags.StringLike */ ? globalStringType :
t.flags & 296 /* TypeFlags.NumberLike */ ? globalNumberType :
t.flags & 2112 /* TypeFlags.BigIntLike */ ? getGlobalBigIntType(/*reportErrors*/ languageVersion >= 7 /* ScriptTarget.ES2020 */) :
t.flags & 2112 /* TypeFlags.BigIntLike */ ? getGlobalBigIntType() :
t.flags & 528 /* TypeFlags.BooleanLike */ ? globalBooleanType :
t.flags & 12288 /* TypeFlags.ESSymbolLike */ ? getGlobalESSymbolType(/*reportErrors*/ languageVersion >= 2 /* ScriptTarget.ES2015 */) :
t.flags & 12288 /* TypeFlags.ESSymbolLike */ ? getGlobalESSymbolType() :
t.flags & 67108864 /* TypeFlags.NonPrimitive */ ? emptyObjectType :
t.flags & 4194304 /* TypeFlags.Index */ ? keyofConstraintType :
t.flags & 2 /* TypeFlags.Unknown */ && !strictNullChecks ? emptyObjectType :
Expand Down Expand Up @@ -60667,8 +60667,8 @@ var ts;
function getGlobalESSymbolConstructorTypeSymbol(reportErrors) {
return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol("SymbolConstructor", reportErrors));
}
function getGlobalESSymbolType(reportErrors) {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", /*arity*/ 0, reportErrors))) || emptyObjectType;
function getGlobalESSymbolType() {
return (deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol", /*arity*/ 0, /*reportErrors*/ false))) || emptyObjectType;
}
function getGlobalPromiseType(reportErrors) {
return (deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType("Promise", /*arity*/ 1, reportErrors))) || emptyGenericType;
Expand Down Expand Up @@ -60732,8 +60732,8 @@ var ts;
deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol("Awaited", /*arity*/ 1, reportErrors) || (reportErrors ? unknownSymbol : undefined));
return deferredGlobalAwaitedSymbol === unknownSymbol ? undefined : deferredGlobalAwaitedSymbol;
}
function getGlobalBigIntType(reportErrors) {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", /*arity*/ 0, reportErrors))) || emptyObjectType;
function getGlobalBigIntType() {
return (deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType("BigInt", /*arity*/ 0, /*reportErrors*/ false))) || emptyObjectType;
}
/**
* Instantiates a global type that is generic with some element type, and returns that instantiation.
Expand Down Expand Up @@ -64885,7 +64885,7 @@ var ts;
if ((globalStringType === source && stringType === target) ||
(globalNumberType === source && numberType === target) ||
(globalBooleanType === source && booleanType === target) ||
(getGlobalESSymbolType(/*reportErrors*/ false) === source && esSymbolType === target)) {
(getGlobalESSymbolType() === source && esSymbolType === target)) {
reportError(ts.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType);
}
}
Expand Down Expand Up @@ -82697,7 +82697,7 @@ var ts;
var childSymbol = getSymbolAtLocation(childNode);
if (childSymbol && childSymbol === testedSymbol) {
// If the test was a simple identifier, the above check is sufficient
if (ts.isIdentifier(expr)) {
if (ts.isIdentifier(expr) || ts.isIdentifier(testedNode) && ts.isBinaryExpression(testedNode.parent)) {
return true;
}
// Otherwise we need to ensure the symbol is called on the same target
Expand Down

0 comments on commit cfd1a6e

Please sign in to comment.