diff --git a/utils/json5.ts b/utils/json5.ts index 3b136b4..2d8688f 100644 --- a/utils/json5.ts +++ b/utils/json5.ts @@ -9,7 +9,7 @@ import JSON5_MOD from "json5"; * @param text A valid JSON string. * @param reviver A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is. */ -export function parse(text: string, reviver?: ((this: any, key: string, value: any) => any | null)): T { +export function parse(text: string, reviver?: ((this: any, key: string, value: any) => any) | null): T { return JSON5_MOD.parse(text, reviver); }