// The return type of `JSON.parse` export type JSONValue = | string | number | boolean | null | JSONObject | JSONValue[] export interface JSONObject { [property: string]: JSONValue } /** * 可以序列化为JSON的非JSONValue对象 */ export interface JSONSerializable> | Array> > { toJSON(key: string): T }