UNPKG

@yobta/validator

Version:
10 lines 448 B
import type { YobtaRequiredValue } from '../_types/YobtaRequiredValue.js'; import type { YobtaSyncRule } from '../rule/rule.js'; export declare const requiredMessage = "Required"; interface YobtaRequired { <I>(message?: string): YobtaSyncRule<I, YobtaRequiredValue<I>>; <I>(message?: string): YobtaSyncRule<I, YobtaRequiredValue<Awaited<I>>>; } export declare const required: YobtaRequired; export {}; //# sourceMappingURL=required.d.ts.map