UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

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