UNPKG

jaywalk

Version:
12 lines (11 loc) 362 B
import { Any, AnyOptions } from './any'; import { Context } from '../utils'; export interface LiteralOptions extends AnyOptions { value: any; } export declare class Literal extends Any implements LiteralOptions { type: string; value: any; constructor(options: LiteralOptions); _isType(value: any, path: string[], context: Context): number; }