mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update LKG
This commit is contained in:
Vendored
+1
-1
@@ -987,7 +987,7 @@ interface JSON {
|
||||
/**
|
||||
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
|
||||
* @param value A JavaScript value, usually an object or array, to be converted.
|
||||
* @param replacer An array of strings and numbers that acts as a white list for selecting the object properties that will be stringified.
|
||||
* @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.
|
||||
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
|
||||
*/
|
||||
stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
||||
|
||||
Vendored
+1
-1
@@ -987,7 +987,7 @@ interface JSON {
|
||||
/**
|
||||
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
|
||||
* @param value A JavaScript value, usually an object or array, to be converted.
|
||||
* @param replacer An array of strings and numbers that acts as a white list for selecting the object properties that will be stringified.
|
||||
* @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.
|
||||
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
|
||||
*/
|
||||
stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
||||
|
||||
Vendored
+1
-1
@@ -987,7 +987,7 @@ interface JSON {
|
||||
/**
|
||||
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
|
||||
* @param value A JavaScript value, usually an object or array, to be converted.
|
||||
* @param replacer An array of strings and numbers that acts as a white list for selecting the object properties that will be stringified.
|
||||
* @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.
|
||||
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
|
||||
*/
|
||||
stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
||||
|
||||
+2
-1
@@ -7235,7 +7235,8 @@ var ts;
|
||||
}
|
||||
function nextTokenIsClassOrFunctionOrAsync() {
|
||||
nextToken();
|
||||
return token === 73 || token === 87 || token === 118;
|
||||
return token === 73 || token === 87 ||
|
||||
(token === 118 && lookAhead(nextTokenIsFunctionKeywordOnSameLine));
|
||||
}
|
||||
function isListElement(parsingContext, inErrorRecovery) {
|
||||
var node = currentNode(parsingContext);
|
||||
|
||||
+2
-1
@@ -8153,7 +8153,8 @@ var ts;
|
||||
}
|
||||
function nextTokenIsClassOrFunctionOrAsync() {
|
||||
nextToken();
|
||||
return token === 73 || token === 87 || token === 118;
|
||||
return token === 73 || token === 87 ||
|
||||
(token === 118 && lookAhead(nextTokenIsFunctionKeywordOnSameLine));
|
||||
}
|
||||
function isListElement(parsingContext, inErrorRecovery) {
|
||||
var node = currentNode(parsingContext);
|
||||
|
||||
@@ -8153,7 +8153,8 @@ var ts;
|
||||
}
|
||||
function nextTokenIsClassOrFunctionOrAsync() {
|
||||
nextToken();
|
||||
return token === 73 || token === 87 || token === 118;
|
||||
return token === 73 || token === 87 ||
|
||||
(token === 118 && lookAhead(nextTokenIsFunctionKeywordOnSameLine));
|
||||
}
|
||||
function isListElement(parsingContext, inErrorRecovery) {
|
||||
var node = currentNode(parsingContext);
|
||||
|
||||
+2
-1
@@ -8988,7 +8988,8 @@ var ts;
|
||||
}
|
||||
function nextTokenIsClassOrFunctionOrAsync() {
|
||||
nextToken();
|
||||
return token === 73 /* ClassKeyword */ || token === 87 /* FunctionKeyword */ || token === 118 /* AsyncKeyword */;
|
||||
return token === 73 /* ClassKeyword */ || token === 87 /* FunctionKeyword */ ||
|
||||
(token === 118 /* AsyncKeyword */ && lookAhead(nextTokenIsFunctionKeywordOnSameLine));
|
||||
}
|
||||
// True if positioned at the start of a list element
|
||||
function isListElement(parsingContext, inErrorRecovery) {
|
||||
|
||||
@@ -8988,7 +8988,8 @@ var ts;
|
||||
}
|
||||
function nextTokenIsClassOrFunctionOrAsync() {
|
||||
nextToken();
|
||||
return token === 73 /* ClassKeyword */ || token === 87 /* FunctionKeyword */ || token === 118 /* AsyncKeyword */;
|
||||
return token === 73 /* ClassKeyword */ || token === 87 /* FunctionKeyword */ ||
|
||||
(token === 118 /* AsyncKeyword */ && lookAhead(nextTokenIsFunctionKeywordOnSameLine));
|
||||
}
|
||||
// True if positioned at the start of a list element
|
||||
function isListElement(parsingContext, inErrorRecovery) {
|
||||
|
||||
Reference in New Issue
Block a user