forked from fdzcxy212206413/gsl_grs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
364 B
17 lines
364 B
2 months ago
|
/**
|
||
|
* Represents any possible JSON value:
|
||
|
* - number
|
||
|
* - string
|
||
|
* - boolean
|
||
|
* - null
|
||
|
* - object (with any JSON value as property)
|
||
|
* - array (with any JSON value as element)
|
||
|
*/
|
||
|
export type JsonValue = number | string | boolean | null | JsonObject | JsonValue[];
|
||
|
/**
|
||
|
* Represents a JSON object.
|
||
|
*/
|
||
|
export type JsonObject = {
|
||
|
[k: string]: JsonValue;
|
||
|
};
|