UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

5 lines (4 loc) 254 B
import type { LengthValidator, Validator } from './base'; export declare interface BinaryValidatorType extends Validator<string>, LengthValidator<BinaryValidatorType> { custom: (fn: (value: string) => boolean, message: string) => BinaryValidatorType }