Skip to content

Commit bce1270

Browse files
committed
fix: use correct bigint type
1 parent 715b9e7 commit bce1270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/util/strings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const VALID_CHARS = ['_', 'a', 'b', 'c', 'd',
171171
'*', '(', ')', '-', '+', '=', ':', ';', '.', '>', '<', ',', '"',
172172
'[', ']', '|', '?', '/', '`'];
173173

174-
export function longToString(nameLong: BigInt): string {
174+
export function longToString(nameLong: bigint): string {
175175
let ac: string = '';
176176
while(nameLong !== BigInt(0)) {
177177
const l1 = nameLong;

0 commit comments

Comments
 (0)