UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

4 lines 238 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 }