/// /// /** * Copy of `@total-typescript/ts-reset` * @link */ type NonFalsy = T extends false | 0 | '' | null | undefined | 0n ? never : T /** * Copy of `@total-typescript/ts-reset` * @link */ interface Array { filter(predicate: BooleanConstructor, thisArg?: any): NonFalsy[] } /** * Copy of `@total-typescript/ts-reset` * @link */ interface ReadonlyArray { filter(predicate: BooleanConstructor, thisArg?: any): NonFalsy[] } interface JSON { /** * Converts a JavaScript Object Notation (JSON) string into an object. * @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. */ parse(text: string, reviver?: (this: any, key: string, value: any) => any) }