fix: 정체불명의 ts type error fix

- 이 변경이 없어도 잘 되어야함. type에 undefined로 놓는게 어딨어?
This commit is contained in:
2023-07-07 10:57:50 +00:00
parent d48c27dccb
commit 7a9ef6454c
+1 -1
View File
@@ -24,7 +24,7 @@ export class RandUtil {
}
public nextBit(): boolean {
const view = new DataView(this.rng.nextBits(1));
const view = new DataView(this.rng.nextBits(1) as ArrayBufferLike);
return view.getUint8(0) != 0;
}