mini-effect
    Preparing search index...

    Interface SafeParser<TSchema, TConfig>

    The safe parser interface.

    interface SafeParser<
        TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>,
        TConfig extends Config<InferIssue<TSchema>> | undefined,
    > {
        config: TConfig;
        schema: TSchema;
        (input: unknown): SafeParseResult<TSchema>;
    }

    Type Parameters

    Index

    Properties

    Properties

    config: TConfig

    The parser configuration.

    schema: TSchema

    The schema to be used.