-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: fix type errors in bitfield-rle tests #624
Conversation
This fixes all the type errors in the tests for `bitfield-rle`. Some of the type errors were entirely test-only, but others required changes to the "real" code. Most notably, many `Buffer` types were changed to `Uint8Array`, and some unused code was removed.
4b16cd4
to
c66fba7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't feel confident that this works correctly for typedarrays other than uint32Array. Do we need to make this change?
I redid this to limit source changes.
|
This fixes all the type errors in the tests for
bitfield-rle
. Some of the type errors were entirely test-only, but others required changes to the "real" code. Most notably, manyBuffer
types were changed toUint8Array
.