type JSONValue = | string | number | boolean | JSONObject | JSONArray; type JSONArray = Array; export interface JSONObject { [x: string]: JSONValue; }