fix: 정체불명의 ts type error fix
- 이 변경이 없어도 잘 되어야함. type에 undefined로 놓는게 어딨어?
This commit is contained in:
@@ -24,7 +24,7 @@ export class RandUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public nextBit(): boolean {
|
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;
|
return view.getUint8(0) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user