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