Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

InferSchemaOutput.md

24 lines565 Bytes

Type Alias: InferSchemaOutput<T>

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:47

Internal

Helper type to extract the output type from a standard schema

This is used by the type resolution system

Type Parameters

T

T