UNPKG

ts-packager

Version:
11 lines (10 loc) 506 B
export declare type JsonPrimitive = null | boolean | number | string | JsonPrimitive[]; export interface JsonObject { [key: string]: JsonPrimitive | JsonObject | JsonObject[]; } export declare type JsonValue = JsonPrimitive | JsonObject | JsonObject[]; export declare type JsonOverrideFunction = (key: string, original: JsonValue) => JsonValue; export declare type JsonOverrideValue = JsonValue | JsonOverrideFunction; export interface JsonOverrides { [key: string]: JsonOverrideValue; }