Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions runtime/Stdlib_TypedArray.res
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ type t<'a>
@send external setArray: (t<'a>, array<'a>) => unit = "set"
@send external setArrayFrom: (t<'a>, array<'a>, int) => unit = "set"

@send external setTypedArray: (t<'a>, t<'a>) => unit = "set"
@send external setTypedArrayFrom: (t<'a>, t<'a>, int) => unit = "set"

@get external length: t<'a> => int = "length"

@send external copyAllWithin: (t<'a>, ~target: int) => array<'a> = "copyWithin"
Expand Down