Home Reference Source Test

src/types/json.ts

export type Null = null;
export type NonNullJSONPrimitive = string | number | boolean;
export type JSONPrimitive = NonNullJSONPrimitive | Null;
export interface JSONObject {
    [_: string]: JSONPrimitive | JSONObject | JSONArray;
}
export interface JSONArray extends Array<JSONValue> {}          // eslint-disable-line @typescript-eslint/no-empty-interface
export type JSONValue = JSONPrimitive | JSONObject | JSONArray;