mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 11:54:44 -06:00
Bump version to 4.5.4 and LKG
This commit is contained in:
parent
1d4ec40130
commit
1bc124e635
@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.versionMajorMinor = "4.5";
|
||||
ts.version = "4.5.3";
|
||||
ts.version = "4.5.4";
|
||||
var NativeCollections;
|
||||
(function (NativeCollections) {
|
||||
function tryGetNativeMap() {
|
||||
|
||||
@ -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.5.3";
|
||||
ts.version = "4.5.4";
|
||||
/* @internal */
|
||||
var Comparison;
|
||||
(function (Comparison) {
|
||||
@ -128608,8 +128608,24 @@ var ts;
|
||||
source = CompletionSource.ClassMemberSnippet;
|
||||
}
|
||||
}
|
||||
// Before offering up a JSX attribute snippet, ensure that we aren't potentially completing
|
||||
// a tag name; this may appear as an attribute after the "<" when the tag has not yet been
|
||||
// closed, as in:
|
||||
//
|
||||
// return <>
|
||||
// foo <butto|
|
||||
// </>
|
||||
//
|
||||
// We can detect this case by checking if both:
|
||||
//
|
||||
// 1. The location is "<", so we are completing immediately after it.
|
||||
// 2. The "<" has the same position as its parent, so is not a binary expression.
|
||||
var kind = ts.SymbolDisplay.getSymbolKind(typeChecker, symbol, location);
|
||||
if (kind === "JSX attribute" /* jsxAttribute */ && preferences.includeCompletionsWithSnippetText && preferences.jsxAttributeCompletionStyle && preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
if (kind === "JSX attribute" /* jsxAttribute */
|
||||
&& (location.kind !== 29 /* LessThanToken */ || location.pos !== location.parent.pos)
|
||||
&& preferences.includeCompletionsWithSnippetText
|
||||
&& preferences.jsxAttributeCompletionStyle
|
||||
&& preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
var useBraces_1 = preferences.jsxAttributeCompletionStyle === "braces";
|
||||
var type = typeChecker.getTypeOfSymbolAtLocation(symbol, location);
|
||||
// If is boolean like or undefined, don't return a snippet we want just to return the completion.
|
||||
|
||||
@ -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.5.3";
|
||||
ts.version = "4.5.4";
|
||||
/* @internal */
|
||||
var Comparison;
|
||||
(function (Comparison) {
|
||||
@ -129190,8 +129190,24 @@ var ts;
|
||||
source = CompletionSource.ClassMemberSnippet;
|
||||
}
|
||||
}
|
||||
// Before offering up a JSX attribute snippet, ensure that we aren't potentially completing
|
||||
// a tag name; this may appear as an attribute after the "<" when the tag has not yet been
|
||||
// closed, as in:
|
||||
//
|
||||
// return <>
|
||||
// foo <butto|
|
||||
// </>
|
||||
//
|
||||
// We can detect this case by checking if both:
|
||||
//
|
||||
// 1. The location is "<", so we are completing immediately after it.
|
||||
// 2. The "<" has the same position as its parent, so is not a binary expression.
|
||||
var kind = ts.SymbolDisplay.getSymbolKind(typeChecker, symbol, location);
|
||||
if (kind === "JSX attribute" /* jsxAttribute */ && preferences.includeCompletionsWithSnippetText && preferences.jsxAttributeCompletionStyle && preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
if (kind === "JSX attribute" /* jsxAttribute */
|
||||
&& (location.kind !== 29 /* LessThanToken */ || location.pos !== location.parent.pos)
|
||||
&& preferences.includeCompletionsWithSnippetText
|
||||
&& preferences.jsxAttributeCompletionStyle
|
||||
&& preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
var useBraces_1 = preferences.jsxAttributeCompletionStyle === "braces";
|
||||
var type = typeChecker.getTypeOfSymbolAtLocation(symbol, location);
|
||||
// If is boolean like or undefined, don't return a snippet we want just to return the completion.
|
||||
|
||||
@ -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.5.3";
|
||||
ts.version = "4.5.4";
|
||||
/* @internal */
|
||||
var Comparison;
|
||||
(function (Comparison) {
|
||||
@ -129190,8 +129190,24 @@ var ts;
|
||||
source = CompletionSource.ClassMemberSnippet;
|
||||
}
|
||||
}
|
||||
// Before offering up a JSX attribute snippet, ensure that we aren't potentially completing
|
||||
// a tag name; this may appear as an attribute after the "<" when the tag has not yet been
|
||||
// closed, as in:
|
||||
//
|
||||
// return <>
|
||||
// foo <butto|
|
||||
// </>
|
||||
//
|
||||
// We can detect this case by checking if both:
|
||||
//
|
||||
// 1. The location is "<", so we are completing immediately after it.
|
||||
// 2. The "<" has the same position as its parent, so is not a binary expression.
|
||||
var kind = ts.SymbolDisplay.getSymbolKind(typeChecker, symbol, location);
|
||||
if (kind === "JSX attribute" /* jsxAttribute */ && preferences.includeCompletionsWithSnippetText && preferences.jsxAttributeCompletionStyle && preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
if (kind === "JSX attribute" /* jsxAttribute */
|
||||
&& (location.kind !== 29 /* LessThanToken */ || location.pos !== location.parent.pos)
|
||||
&& preferences.includeCompletionsWithSnippetText
|
||||
&& preferences.jsxAttributeCompletionStyle
|
||||
&& preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
var useBraces_1 = preferences.jsxAttributeCompletionStyle === "braces";
|
||||
var type = typeChecker.getTypeOfSymbolAtLocation(symbol, location);
|
||||
// If is boolean like or undefined, don't return a snippet we want just to return the completion.
|
||||
|
||||
@ -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.5.3";
|
||||
ts.version = "4.5.4";
|
||||
/* @internal */
|
||||
var Comparison;
|
||||
(function (Comparison) {
|
||||
@ -129190,8 +129190,24 @@ var ts;
|
||||
source = CompletionSource.ClassMemberSnippet;
|
||||
}
|
||||
}
|
||||
// Before offering up a JSX attribute snippet, ensure that we aren't potentially completing
|
||||
// a tag name; this may appear as an attribute after the "<" when the tag has not yet been
|
||||
// closed, as in:
|
||||
//
|
||||
// return <>
|
||||
// foo <butto|
|
||||
// </>
|
||||
//
|
||||
// We can detect this case by checking if both:
|
||||
//
|
||||
// 1. The location is "<", so we are completing immediately after it.
|
||||
// 2. The "<" has the same position as its parent, so is not a binary expression.
|
||||
var kind = ts.SymbolDisplay.getSymbolKind(typeChecker, symbol, location);
|
||||
if (kind === "JSX attribute" /* jsxAttribute */ && preferences.includeCompletionsWithSnippetText && preferences.jsxAttributeCompletionStyle && preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
if (kind === "JSX attribute" /* jsxAttribute */
|
||||
&& (location.kind !== 29 /* LessThanToken */ || location.pos !== location.parent.pos)
|
||||
&& preferences.includeCompletionsWithSnippetText
|
||||
&& preferences.jsxAttributeCompletionStyle
|
||||
&& preferences.jsxAttributeCompletionStyle !== "none") {
|
||||
var useBraces_1 = preferences.jsxAttributeCompletionStyle === "braces";
|
||||
var type = typeChecker.getTypeOfSymbolAtLocation(symbol, location);
|
||||
// If is boolean like or undefined, don't return a snippet we want just to return the completion.
|
||||
|
||||
@ -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.5.3";
|
||||
ts.version = "4.5.4";
|
||||
/* @internal */
|
||||
var Comparison;
|
||||
(function (Comparison) {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "typescript",
|
||||
"author": "Microsoft Corp.",
|
||||
"homepage": "https://www.typescriptlang.org/",
|
||||
"version": "4.5.3",
|
||||
"version": "4.5.4",
|
||||
"license": "Apache-2.0",
|
||||
"description": "TypeScript is a language for application scale JavaScript development",
|
||||
"keywords": [
|
||||
|
||||
@ -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.5.3" as string;
|
||||
export const version = "4.5.4" as string;
|
||||
|
||||
/**
|
||||
* Type of objects whose values are all of the same type.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user