alpha
Login
or
Join now
nandi.uk
/
gleam
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork of daniellemaywood.uk/gleam — Wasm codegen work
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Minor corrections to JS prelude types
author
Richard Viney
committer
Louis Pilfold
date
1 year ago
(Feb 18, 2025, 1:39 PM UTC)
commit
3acc384c
3acc384c97a153cde737523c5c9e20f5589fdf33
parent
458a52d4
458a52d4732b8f104fef530dbb2b737716242b5a
+3
-3
1 changed file
Expand all
Collapse all
Unified
Split
compiler-core
templates
prelude.d.mts
+3
-3
compiler-core/templates/prelude.d.mts
View file
Reviewed
···
48
48
export function toBitArray(segments: Array<BitArray | Uint8Array | number>): BitArray;
49
49
50
50
export function sizedInt(
51
51
-
int: number,
51
51
+
value: number,
52
52
size: number,
53
53
isBigEndian: boolean
54
54
-
): Uint8Array;
54
54
+
): Uint8Array | BitArray;
55
55
56
56
export function stringBits(string: string): Uint8Array;
57
57
58
58
export function codepointBits(codepoint: UtfCodepoint): Uint8Array;
59
59
60
60
export function sizedFloat(
61
61
-
float: number,
61
61
+
value: number,
62
62
size: number,
63
63
isBigEndian: boolean
64
64
): Uint8Array;