ionian/packages/dbtype/jsonmap.ts

5 lines
237 B
TypeScript
Raw Normal View History

2024-04-06 01:03:56 +09:00
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;