Skip to main content

InferSchemaOutput

还没翻译译自英文(tanstack.com)本页 8 段都还没译

type InferSchemaOutput<T> = T extends StandardSchemaV1 ? StandardSchemaV1.InferOutput<T> extends object ? StandardSchemaV1.InferOutput<T> : Record<string, unknown> : Record<string, unknown>;

Defined in: packages/db/src/types.ts:53

Internal

Helper type to extract the output type from a standard schema

This is used by the type resolution system

Type Parameters

T

T