@vinejs/vine - v4.2.0
    Preparing search index...

    Interface WithJSONSchema

    Interface for schema types that support converting into JSON Schema.

    const schema = vine.string().toJSONSchema()
    
    interface WithJSONSchema {
        toJSONSchema(): JSONSchema7;
    }

    Implemented by

    Index

    Methods

    Methods