@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
13 lines (12 loc) • 457 B
TypeScript
import type { Printable } from 'tree-dump/lib/types';
import type { Type } from '../../type';
import type { ModuleType } from './ModuleType';
export declare class AliasType<K extends string, T extends Type> implements Printable {
readonly system: ModuleType;
readonly id: K;
readonly type: T;
constructor(system: ModuleType, id: K, type: T);
getType(): Type;
resolve(): AliasType<string, Type>;
toString(tab?: string): string;
}