@@ -750,6 +750,7 @@ export class Repo {
750
750
751
751
const error = new Error ( message ) ;
752
752
753
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
753
754
( error as any ) . code = code ;
754
755
callback ( error ) ;
755
756
}
@@ -853,6 +854,7 @@ export class Repo {
853
854
newVal !== null &&
854
855
contains ( newVal , '.priority' )
855
856
) {
857
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
856
858
priorityForNode = safeGet ( newVal as any , '.priority' ) ;
857
859
assert (
858
860
isValidPriority ( priorityForNode ) ,
@@ -865,7 +867,6 @@ export class Repo {
865
867
ChildrenNode . EMPTY_NODE ;
866
868
priorityForNode = currentNode . getPriority ( ) . val ( ) ;
867
869
}
868
- priorityForNode /** @type {null|number|string } */ = priorityForNode ;
869
870
870
871
const serverValues = this . generateServerValues ( ) ;
871
872
const newNodeUnresolved = nodeFromJSON ( newVal , priorityForNode ) ;
@@ -1109,7 +1110,7 @@ export class Repo {
1109
1110
this . serverSyncTree_ . ackUserWrite ( transaction . currentWriteId , true )
1110
1111
) ;
1111
1112
} else if ( transaction . status === TransactionStatus . RUN ) {
1112
- if ( transaction . retryCount >= MAX_TRANSACTION_RETRIES_ ) {
1113
+ if ( transaction . retryCount >= MAX_TRANSACTION_RETRIES ) {
1113
1114
abortTransaction = true ;
1114
1115
abortReason = 'maxretry' ;
1115
1116
events = events . concat (
0 commit comments