Type alias Initialiser<SCHEMA, STORES, T>

Initialiser<SCHEMA, STORES, T>: ((transaction: Transaction<Pick<SCHEMA, STORES[number]>>) => Promise<T>)

Type Parameters

  • SCHEMA

  • STORES extends (keyof SCHEMA)[]

  • T

Type declaration

    • (transaction: Transaction<Pick<SCHEMA, STORES[number]>>): Promise<T>
    • Parameters

      • transaction: Transaction<Pick<SCHEMA, STORES[number]>>

      Returns Promise<T>

Generated using TypeDoc