@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
10 lines (9 loc) • 337 B
TypeScript
import { type Printable } from 'tree-dump';
import type { ResolveType } from '../system/types';
import type { Type } from '../type/types';
export declare class Value<T extends Type = Type> implements Printable {
type: T;
data: ResolveType<T>;
constructor(type: T, data: ResolveType<T>);
toString(tab?: string): string;
}