UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

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