5 lines
No EOL
226 B
TypeScript
5 lines
No EOL
226 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; |