7 lines
225 B
TypeScript
7 lines
225 B
TypeScript
export type JsonPrimitive = string | number | boolean | null;
|
|
export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
export interface JsonObject {
|
|
[key: string]: JsonValue;
|
|
}
|
|
export type JsonArray = JsonValue[];
|