Skip to content

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Feb 9, 2026

ChatParticipantAdditions started using types from chatHooks, but doesn't have an explicit dependency on it. Looks like tsgo is more strict about not picking this up automatically so we need to make sure there is an import so the dependency is picked up

We added a dependency between api proposals. Looks like tsgo is more strict about not picking this up automatically so we need to make sure there is an import so the dependency is picked up
Copilot AI review requested due to automatic review settings February 9, 2026 17:25
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 9, 2026
@mjbvz mjbvz enabled auto-merge February 9, 2026 17:29
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

Fixes a stricter tsgo build dependency issue in the proposed VS Code API typings by making vscode.proposed.chatParticipantAdditions.d.ts explicitly depend on vscode.proposed.chatHooks.d.ts.

Changes:

  • Add an explicit side-effect import of vscode.proposed.chatHooks.d.ts from vscode.proposed.chatParticipantAdditions.d.ts so ChatHookType is resolved under tsgo.
  • Update local/code-import-patterns ESLint allowlist so src/vscode-dts/** files are permitted to import other src/vscode-dts/* files (needed due to the new import).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts Adds an explicit dependency import on chatHooks to satisfy tsgo’s stricter dependency graph.
eslint.config.js Allows intra-src/vscode-dts imports so the new .d.ts import passes local/code-import-patterns.

@mjbvz mjbvz merged commit f54d28f into microsoft:main Feb 9, 2026
22 of 23 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.

2 participants