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