Skip to content

Conversation

@Andarist
Copy link
Contributor

@Andarist Andarist commented Dec 9, 2025

Why

Current types run into a problem with this proposed patch to TypeScript: microsoft/TypeScript#62243 (comment)

The current types luck out on contextual typing for return expressions, a seamingly equivalent change from a method to an arrow function uncover this:

Screenshot 2025-12-09 at 15 27 19

@vs-code-engineering
Copy link

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@jrieken

Matched files:

  • src/vs/platform/instantiation/test/common/instantiationServiceMock.ts

Copy link
Collaborator

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mjbvz mjbvz enabled auto-merge December 9, 2025 23:01
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 9, 2025
@mjbvz mjbvz merged commit b27901d into microsoft:main Dec 9, 2025
17 checks 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.

4 participants