jaywalk
Version:
Runtime type validation
12 lines (11 loc) • 318 B
TypeScript
import { Rule, RuleOptions } from './rule';
export interface TestOptions extends RuleOptions {
name: string;
test: (value: any) => any;
}
export declare class Test extends Rule implements TestOptions {
type: string;
name: string;
test: (value: any) => any;
constructor(options: TestOptions);
}