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