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

fix: Correct Uint8Array / DataView usage for TypeScript 5.7 #170

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

nellh
Copy link
Member

@nellh nellh commented Feb 21, 2025

Deno 2.2 via TypeScript 5.7 made typed arrays generic. Specifying the generic for Uint8Array and DataView resolves failures seen in #166.

@effigies I think this is the better alternative to #167.

@nellh nellh requested a review from effigies February 21, 2025 17:54
@nellh
Copy link
Member Author

nellh commented Feb 21, 2025

Needs a few more fixes...

@effigies
Copy link
Contributor

Doesn't seem to have done the job. Will this continue to work with older deno versions, or will this set a lower bound?

@effigies effigies merged commit c2cb451 into bids-standard:main Feb 21, 2025
16 checks passed
@nellh
Copy link
Member Author

nellh commented Feb 21, 2025

Doesn't seem to have done the job. Will this continue to work with older deno versions, or will this set a lower bound?

It will only set the lower bound for tests or running with --check.

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