Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/actions/digits/digits.ts>DigitsIssue

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface DigitsIssue
implements BaseIssue<TInput>
import { type DigitsIssue } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/actions/digits/digits.ts";

Digits issue type.

Type Parameters

TInput extends string

Properties

readonly
kind: "validation"

The issue kind.

readonly
type: "digits"

The issue type.

readonly
expected: null

The expected property.

readonly
received: `"${string}"`

The received property.

readonly
requirement: RegExp

The digits regex.