UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

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