type TransactionWithMutations<T, TOperation> = Transaction<T> & object;
type TransactionWithMutations<T, TOperation> = Transaction<T> & object;
Defined in: packages/db/src/types.ts:154
Utility type for a Transaction with at least one mutation This is used internally by the Transaction.commit method
mutations: NonEmptyArray<PendingMutation<T, TOperation>>;
mutations: NonEmptyArray<PendingMutation<T, TOperation>>;
• T extends object = Record<string, unknown>
• TOperation extends OperationType = OperationType
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.