Skip to content

Commit 01e7182

Browse files
committed
1 parent dce6668 commit 01e7182

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/lib.es5.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,14 +1046,14 @@ interface JSON {
10461046
* @param reviver A function that transforms the results. This function is called for each member of the object.
10471047
* If a member contains nested objects, the nested objects are transformed before the parent object is.
10481048
*/
1049-
parse(text: string, reviver?: (key: any, value: any) => any): any;
1049+
parse(text: string, reviver?: (this : any, key: string, value: any) => any): any;
10501050
/**
10511051
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
10521052
* @param value A JavaScript value, usually an object or array, to be converted.
10531053
* @param replacer A function that transforms the results.
10541054
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
10551055
*/
1056-
stringify(value: any, replacer?: (key: string, value: any) => any, space?: string | number): string;
1056+
stringify(value: any, replacer?: (this : any, key: string, value: any) => any, space?: string | number): string;
10571057
/**
10581058
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
10591059
* @param value A JavaScript value, usually an object or array, to be converted.

src/lib/es5.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,14 +1026,14 @@ interface JSON {
10261026
* @param reviver A function that transforms the results. This function is called for each member of the object.
10271027
* If a member contains nested objects, the nested objects are transformed before the parent object is.
10281028
*/
1029-
parse(text: string, reviver?: (key: any, value: any) => any): any;
1029+
parse(text: string, reviver?: (this : any, key: string, value: any) => any): any;
10301030
/**
10311031
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
10321032
* @param value A JavaScript value, usually an object or array, to be converted.
10331033
* @param replacer A function that transforms the results.
10341034
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
10351035
*/
1036-
stringify(value: any, replacer?: (key: string, value: any) => any, space?: string | number): string;
1036+
stringify(value: any, replacer?: (this : any, key: string, value: any) => any, space?: string | number): string;
10371037
/**
10381038
* Converts a JavaScript value to a JavaScript Object Notation (JSON) string.
10391039
* @param value A JavaScript value, usually an object or array, to be converted.

0 commit comments

Comments
 (0)