import { ValidatorOptions } from '../lib/types'; import { createValidator } from '../lib/validator'; export let any = createValidator>('any', (opts, value) => { return { success: true, value }; }); export let typedAny = (name: string) => createValidator>(name, (opts, value) => { return { success: true, value }; })();