File tree 1 file changed +8
-5
lines changed
packages/firestore/src/local 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function createOrUpgradeDb(
42
42
createTargetChangeStore ( db ) ;
43
43
}
44
44
45
- if ( fromVersion == 0 && toVersion >= 1 ) {
45
+ if ( fromVersion === 0 && toVersion >= 1 ) {
46
46
createOwnerStore ( db ) ;
47
47
createMutationQueue ( db ) ;
48
48
createQueryCache ( db ) ;
@@ -129,7 +129,7 @@ export class DbMutationQueue {
129
129
*
130
130
* PORTING NOTE: iOS and Android clients keep this value in-memory.
131
131
*/
132
- public highestPendingBatchId : number
132
+ public highestPendingBatchId ? : number
133
133
) { }
134
134
}
135
135
@@ -558,11 +558,14 @@ export class DbInstanceMetadata {
558
558
static keyPath = [ 'userId' , 'instanceKey' ] ;
559
559
560
560
constructor (
561
- /** userId - The normalized user ID to which this batch belongs.*/
561
+ /** @param userId - The normalized user ID to which this batch belongs. */
562
562
public userId : string ,
563
- /** instanceKey - The auto-generated instance key assigned at client startup. */
563
+ /**
564
+ * @param instanceKey - The auto-generated instance key assigned at client
565
+ * startup.
566
+ */
564
567
public instanceKey : string ,
565
- /** updateTimeMs - The last time this state was updated. */
568
+ /** @param updateTimeMs - The last time this state was updated. */
566
569
public updateTimeMs : DbTimestamp
567
570
) { }
568
571
}
You can’t perform that action at this time.
0 commit comments