Skip to content

Commit d9e5b0f

Browse files
Rel1cxCopilot
andauthored
Update packages/shared/src/_id.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: REL1CX <[email protected]>
1 parent dba5967 commit d9e5b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/_id.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class IdGenerator {
2020
* @returns A generated id.
2121
*/
2222
next() {
23-
this.n = (1n + this.n) | 0n;
23+
this.n = 1n + this.n;
2424
return this.prefix + this.n.toString(16);
2525
}
2626
}

0 commit comments

Comments
 (0)