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

Add Uint8ClampedArray to TypedArray type #10

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

magnostherobot
Copy link
Contributor

The Uint8ClampedArray type behaves very similarly to Uint8Array, and should probably be mentioned among the other typed arrays.

This lines up with d3's definition of TypedArray.

The [Uint8ClampedArray][1] type behaves very similarly to Uint8Array,
and should probably be mentioned among the other typed arrays.

This lines up with [d3's definition of TypedArray][2].

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray
[2]: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/d3-interpolate/index.d.ts#L44-L53
@greggman greggman merged commit e8be084 into greggman:dev Jul 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants