mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-22 07:25:55 -06:00
Update LKG
This commit is contained in:
parent
9a39f9c117
commit
a039412373
2
lib/lib.d.ts
vendored
2
lib/lib.d.ts
vendored
@ -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
lib/lib.es5.d.ts
vendored
2
lib/lib.es5.d.ts
vendored
@ -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
lib/lib.es6.d.ts
vendored
2
lib/lib.es6.d.ts
vendored
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user