UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

6 lines (5 loc) 222 B
import type { OrType } from '../../type'; export type DiscriminatorFn = (val: unknown) => number; export declare class DiscriminatorCodegen { static readonly get: (this: unknown, or: OrType<any>) => DiscriminatorFn; }