Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
PR feedback - error? to Error | undefined
  • Loading branch information
MarkDuckworth committed Aug 18, 2025
commit 4714c7a3772b456df9d08cc6415e101427a24e81
2 changes: 1 addition & 1 deletion packages/firestore/src/core/transaction_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class TransactionRunner<T> {
}
}

private isRetryableTransactionError(error?: Error): boolean {
private isRetryableTransactionError(error: Error | undefined): boolean {
if (error?.name === 'FirebaseError') {
// In transactions, the backend will fail outdated reads with FAILED_PRECONDITION and
// non-matching document versions with ABORTED. These errors should be retried.
Expand Down
Loading