3 ms·
The below type definition (TS) fits the ECMA schema for JSON: type JSON = string | number | boolean | null | JSON[] |
by Jenk 1y ago
The below type definition (TS) fits the ECMA schema for JSON:
type JSON =
string |
number |
boolean |
null |
JSON[] |
{[name: string]: JSON}