Fix typo in JSON.stringify doc (#40735)

This commit is contained in:
jieniu$ 2020-10-01 10:46:58 -06:00 committed by GitHub
parent 4538e7352f
commit 58af7defe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
src/lib/es5.d.ts vendored
View File

@ -1047,7 +1047,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 approved list for selecting the object properties that will be stringified.
* @param replacer An array of strings and numbers that acts as an 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;