UNPKG

jaywalk

Version:
15 lines (14 loc) 460 B
import { Rule } from './rule'; import { Any, AnyOptions } from './any'; import { Context } from '../utils'; export interface TupleOptions extends AnyOptions { tuple: Rule[]; } export declare class Tuple extends Any implements TupleOptions { type: string; tuple: Rule[]; constructor(options: TupleOptions); _isType(value: any, path: string[], context: Context): number; _extend(options: TupleOptions): TupleOptions; toJSON(): any; }