Skip to content

Commit 3386e24

Browse files
committed
Export IdGenerator inline and remove bottom export
1 parent 98ca430 commit 3386e24

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/shared/src/_id.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* A generator for unique ids.
77
*/
8-
class IdGenerator {
8+
export class IdGenerator {
99
private n: bigint;
1010
private prefix: string;
1111
/**
@@ -24,5 +24,3 @@ class IdGenerator {
2424
return this.prefix + this.n.toString(16);
2525
}
2626
}
27-
28-
export { IdGenerator };

0 commit comments

Comments
 (0)