UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

11 lines (10 loc) 404 B
import * as schema from '../../schema'; import type { SchemaOf, Type } from '../types'; import { AbsType } from './AbsType'; export declare class RefType<T extends Type = any> extends AbsType<schema.RefSchema<SchemaOf<T>>> { constructor(ref: string); ref(): string; getOptions(): schema.Optional<schema.RefSchema<SchemaOf<T>>>; resolve(): Type; toStringTitle(tab?: string): string; }