We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56ca0e1 commit 4714c7aCopy full SHA for 4714c7a
packages/firestore/src/core/transaction_runner.ts
@@ -112,7 +112,7 @@ export class TransactionRunner<T> {
112
}
113
114
115
- private isRetryableTransactionError(error?: Error): boolean {
+ private isRetryableTransactionError(error: Error | undefined): boolean {
116
if (error?.name === 'FirebaseError') {
117
// In transactions, the backend will fail outdated reads with FAILED_PRECONDITION and
118
// non-matching document versions with ABORTED. These errors should be retried.
0 commit comments