node-env
    Preparing search index...

    Type Alias ValidationAdapter<TSchema, TOutput>

    Adapter used to bridge external schema libraries into the local validator contract.

    type ValidationAdapter<TSchema, TOutput = unknown> = {
        safeParse(
            schema: TSchema,
            value: unknown,
        ): ValidationAdapterResult<TOutput>;
    }

    Type Parameters

    • TSchema
    • TOutput = unknown
    Index

    Methods

    Methods