UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

11 lines (10 loc) 406 B
import type { Printable } from 'tree-dump'; import type { ResolveType, Type } from '../type/types'; export declare class Value<T extends Type = Type> implements Printable { data: ResolveType<T>; type?: T | undefined; constructor(data: ResolveType<T>, type?: T | undefined); name(): string; toString(tab?: string): string; } export declare const unknown: (data: unknown) => Value<Type>;