Skip to content

Add casts to silence breaks due to updated DOM types #248346

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

rbuckton
Copy link

@rbuckton rbuckton commented May 7, 2025

This addresses build errors with TS5.9 and the updated DOM types from microsoft/TypeScript#61647.

This fixes are currently handled via casts so as to avoid any runtime changes or significant changes to the types. In some cases, the casts address deficiencies in the types from external packages.

Some of the breaks could be fixed by modifying VSBuffer to only accept Buffer<ArrayBuffer>, but this required significantly more casts in other locations. I leave it up to the discretion of the VSCode team as to whether more extensive changes are necessary.

@vs-code-engineering vs-code-engineering bot added this to the May 2025 milestone May 14, 2025
@mjbvz mjbvz merged commit 600b9b2 into microsoft:main May 14, 2025
7 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jun 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants