@yobta/validator
Version:
Tree-shakable es6 validator
5 lines • 389 B
TypeScript
import type { YobtaMaybe } from '../_types/YobtaMaybe.js';
import type { YobtaSyncRule } from '../rule/rule.js';
export declare const minCharactersMessage: (limit: number) => string;
export declare const minCharacters: <I extends string | undefined>(limit: number, message?: (limit: number) => string) => YobtaSyncRule<I, YobtaMaybe<I, string>>;
//# sourceMappingURL=minCharacters.d.ts.map