mini-effect
    Preparing search index...

    Interface AnySchema

    Any schema interface.

    interface AnySchema {
        "~run": (
            dataset: UnknownDataset,
            config: Config<BaseIssue<unknown>>,
        ) => OutputDataset<any, never>;
        "~standard": StandardProps<any, any>;
        "~types"?: { input: any; issue: never; output: any };
        async: false;
        expects: "any";
        kind: "schema";
        reference: () => AnySchema;
        type: "any";
    }

    Hierarchy (View Summary)

    Index

    Properties

    "~run": (
        dataset: UnknownDataset,
        config: Config<BaseIssue<unknown>>,
    ) => OutputDataset<any, never>

    Parses unknown input values.

    Type Declaration

    "~standard": StandardProps<any, any>

    The Standard Schema properties.

    "~types"?: { input: any; issue: never; output: any }

    The input, output and issue type.

    async: false

    Whether it's async.

    expects: "any"

    The expected property.

    kind: "schema"

    The object kind.

    reference: () => AnySchema

    The schema reference.

    Type Declaration

      • (): AnySchema
      • Creates an any schema.

        Hint: This schema function exists only for completeness and is not recommended in practice. Instead, unknown should be used to accept unknown data.

        Returns AnySchema

        An any schema.

    type: "any"

    The schema type.