Skip to content

Commit aabc3dc

Browse files
committed
[hygiene] Tiny fix
1 parent 4f2473b commit aabc3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/codec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type {Id} from '../@types/index.d.ts';
33
import {arrayMap, arrayReduce} from './array.ts';
44
import {mapGet, mapNew} from './map.ts';
55
import {GLOBAL, math, mathFloor} from './other.ts';
6-
import {strSplit} from './strings.ts';
6+
import {EMPTY_STRING, strSplit} from './strings.ts';
77

88
const MASK6 = 63;
99
const ENCODE = /* @__PURE__ */ strSplit(
@@ -29,5 +29,5 @@ export const getUniqueId: typeof getUniqueIdDecl = (length = 16): Id =>
2929
arrayReduce<number, Id>(
3030
getRandomValues(new Uint8Array(length)) as any,
3131
(uniqueId, number) => uniqueId + encode(number),
32-
'',
32+
EMPTY_STRING,
3333
);

0 commit comments

Comments
 (0)