Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypedArray methods are missing #3730

Open
WilliamVenner opened this issue Dec 2, 2023 · 2 comments
Open

TypedArray methods are missing #3730

WilliamVenner opened this issue Dec 2, 2023 · 2 comments

Comments

@WilliamVenner
Copy link

WilliamVenner commented Dec 2, 2023

Hi, TypedArray methods appear to be missing:

https://rustwasm.github.io/wasm-bindgen/api/web_sys/index.html?search=copy_within

It would be nice to have TypedArray.copyWithin and friends, so I was surprised to see this was missing.

@Liamolucko
Copy link
Collaborator

TypedArray isn't a real type, it's just a blanket term for Uint8Array, Int32Array, Float64Array, etc. But it is a bug that all those types are missing copyWithin, that should be fixed.

@WilliamVenner
Copy link
Author

Hm I would have assumed that they all extend a TypedArray class. I will update the title

@WilliamVenner WilliamVenner changed the title TypedArray is missing TypedArray methods are missing Dec 3, 2023
@daxpedda daxpedda added enhancement and removed bug labels Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants