5 lines
237 B
TypeScript
5 lines
237 B
TypeScript
|
export type JSONPrimitive = null | boolean | number | string;
|
||
|
export interface JSONMap extends Record<string, JSONType> {}
|
||
|
export interface JSONArray extends Array<JSONType> {}
|
||
|
export type JSONType = JSONMap | JSONPrimitive | JSONArray;
|