FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/pg / TableType

Type Alias: TableType<T>

TableType<T> = T extends TableName ? Tables[T] : Record<string, any>

Row type for a known table name, or a permissive record for unknown tables.

Type Parameters

T

T extends string = string