Skip to content

Commit

Permalink
fix: lint - unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglonghong committed Oct 16, 2023
1 parent 84f0a52 commit bea7274
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const enqueue = async () => {
if (!_baseAggregateRootCount) {
throw new NoAggregateRootCount(snapshot.baseAggregateRoot);
}
aggregateRootCount = snapshot.roots.length + _baseAggregateRootCount!;
aggregateRootCount = snapshot.roots.length + _baseAggregateRootCount;
messageRootIndex = _baseAggregateRootCount + domainIndex;
}

Expand Down

0 comments on commit bea7274

Please sign in to comment.