Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneFerrao committed Dec 18, 2024
1 parent 08d5ece commit 085577f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export class ConsensusOrderedCollection<T = any>
const blob = await storage.readBlob(snapshotFileNameTracking);
const rawContentTracking = bufferToString(blob, "utf8");
const content = this.deserializeValue(rawContentTracking, this.serializer);
this.jobTracking = new Map(content) as JobTrackingInfo<T>;
this.jobTracking = new Map(content as Iterable<[string, { value: T; clientId: string | undefined }]>);

assert(
this.data.size() === 0,
Expand Down

0 comments on commit 085577f

Please sign in to comment.