UNPKG

@inward/context

Version:

LoopBack's container for Inversion of Control

29 lines (28 loc) 492 B
/** * Type definition for JSON types */ /** * JSON primitive types: * - string * - number * - boolean * - null */ export declare type JSONPrimitive = string | number | boolean | null; /** * JSON values * - primitive * - object * - array */ export declare type JSONValue = JSONPrimitive | JSONObject | JSONArray; /** * JSON object */ export interface JSONObject extends Record<string, JSONValue> { } /** * JSON array */ export interface JSONArray extends Array<JSONValue> { }