Skip to main content

InferPowerSyncOutputType

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

type InferPowerSyncOutputType<TTable, TSchema> = [TSchema] extends [never] ? ExtractedTable<TTable> : InferSchemaOutput<TSchema>;

Defined in: definitions.ts:22

Small helper which determines the output type if:

  • Standard SQLite types are to be used OR
  • If the provided schema should be used.

Type Parameters

TTable

TTable extends Table = Table

TSchema

TSchema extends StandardSchemaV1<PowerSyncRecord> = never