UNPKG

@tabula/ui-json-view

Version:
14 lines (13 loc) 443 B
import { ComplexType, JsonArray, JsonObject, JsonValue } from '../../../types'; type Item<Key, Property> = [Key, Property, JsonValue]; type ArrayItem = Item<number, number>; type ObjectItem = Item<number, string>; type Meta = { children: ArrayItem[] | ObjectItem[]; openSymbol: string; closeSymbol: string; size: number; type: ComplexType; }; export declare function metaOf(value: JsonArray | JsonObject): Meta; export {};