13 lines
188 B
TypeScript
13 lines
188 B
TypeScript
type JSONValue =
|
|
| string
|
|
| number
|
|
| boolean
|
|
| JSONObject
|
|
| JSONArray;
|
|
|
|
type JSONArray = Array<JSONValue>;
|
|
|
|
export interface JSONObject {
|
|
[x: string]: JSONValue;
|
|
}
|