UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

8 lines (7 loc) 275 B
import { Value } from './Value'; import { ObjValue } from './ObjValue'; import * as classes from '../type'; export declare const value: { <T extends classes.ObjType>(type: T, data: unknown): ObjValue<T>; <T extends classes.Type>(type: T, data: unknown): Value<T>; };