Skip to content

Use unknown instead of any#303640

Merged
mjbvz merged 1 commit intomicrosoft:mainfrom
mjbvz:dev/mjbvz/boring-kingfisher
Mar 20, 2026
Merged

Use unknown instead of any#303640
mjbvz merged 1 commit intomicrosoft:mainfrom
mjbvz:dev/mjbvz/boring-kingfisher

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Mar 20, 2026

No description provided.

@mjbvz mjbvz self-assigned this Mar 20, 2026
Copilot AI review requested due to automatic review settings March 20, 2026 23:31
@mjbvz mjbvz enabled auto-merge March 20, 2026 23:31
@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens the Extensions Registry type surface by replacing any with unknown in a couple of public-facing extension point-related APIs, reducing implicit unsoundness when consuming these types across the workbench.

Changes:

  • Update IExtensionPointDescriptor.deps from IExtensionPoint<any>[] to IExtensionPoint<unknown>[].
  • Update ExtensionsRegistryImpl.getExtensionPoints() return type from ExtensionPoint<any>[] to ExtensionPoint<unknown>[].

@mjbvz mjbvz merged commit 4b98d21 into microsoft:main Mar 20, 2026
22 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.

3 participants