MCP TypeScript SDK (V2)
    Preparing search index...

    Interface StandardSchemaV1Sync<Input, Output>

    Narrowing of StandardSchemaV1 whose validate is guaranteed synchronous.

    The Zod schemas backing specTypeSchemas contain no async refinements or transforms, so every entry satisfies this interface. Consumers can call validate() and access .issues / .value on the result without await.

    StandardSchemaV1Sync is assignable to StandardSchemaV1 — it is a strict subtype.

    interface StandardSchemaV1Sync<Input = unknown, Output = Input> {
        "~standard": StandardSchemaV1Sync.Props<Input, Output>;
    }

    Type Parameters

    • Input = unknown
    • Output = Input

    Hierarchy (View Summary)

    Index

    Properties

    Properties