@@ -39,7 +39,7 @@ declare namespace parse {
39
39
* @param reviver The `JSON.parse()` optional `reviver` argument.
40
40
* @returns The parsed object, or `null` if there was an error or if the JSON contained possibly insecure properties.
41
41
*/
42
- export function safeParse ( text : string | Buffer , reviver ?: Reviver | null ) : any
42
+ export function safeParse ( text : string | Buffer , reviver ?: Reviver | null ) : any
43
43
44
44
/**
45
45
* Scans a given object for prototype properties.
@@ -48,11 +48,11 @@ declare namespace parse {
48
48
* @param options Optional configuration object.
49
49
* @returns The object, or `null` if onError is set to `nullify`
50
50
*/
51
- export function scan ( obj : { [ key : string | number ] : any } , options ?: ParseOptions ) : any
51
+ export function scan ( obj : { [ key : string | number ] : any } , options ?: ParseOptions ) : any
52
52
53
- export { parse as default }
53
+ export { parse as default }
54
54
}
55
55
56
- declare function parse ( text : string | Buffer , options ?: parse . ParseOptions ) : any
57
- declare function parse ( text : string | Buffer , reviver ?: parse . Reviver | null , options ?: parse . ParseOptions ) : any
56
+ declare function parse ( text : string | Buffer , options ?: parse . ParseOptions ) : any
57
+ declare function parse ( text : string | Buffer , reviver ?: parse . Reviver | null , options ?: parse . ParseOptions ) : any
58
58
export = parse
0 commit comments