Skip to content

Commit 3acc384

Browse files
richard-vineylpil
authored andcommitted
Minor corrections to JS prelude types
1 parent 458a52d commit 3acc384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-core/templates/prelude.d.mts

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ export class UtfCodepoint {
4848
export function toBitArray(segments: Array<BitArray | Uint8Array | number>): BitArray;
4949

5050
export function sizedInt(
51-
int: number,
51+
value: number,
5252
size: number,
5353
isBigEndian: boolean
54-
): Uint8Array;
54+
): Uint8Array | BitArray;
5555

5656
export function stringBits(string: string): Uint8Array;
5757

5858
export function codepointBits(codepoint: UtfCodepoint): Uint8Array;
5959

6060
export function sizedFloat(
61-
float: number,
61+
value: number,
6262
size: number,
6363
isBigEndian: boolean
6464
): Uint8Array;

0 commit comments

Comments
 (0)