Skip to content

Fix pre-existing TypeScript and ESLint errors#5449

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/attempt-safe-npm-package-upgrades
Draft

Fix pre-existing TypeScript and ESLint errors#5449
Copilot wants to merge 2 commits intomainfrom
copilot/attempt-safe-npm-package-upgrades

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

Two static analysis errors that cause tsc --noEmit and eslint to fail with a clean checkout.

  • src/session.ts: TelemetryReporter is a named export, not a default export. Changed to named import to match the pattern already used in src/extension.ts:
    // before
    import TelemetryReporter, { ... } from "@vscode/extension-telemetry";
    // after
    import { TelemetryReporter, ... } from "@vscode/extension-telemetry";
  • src/settings.ts: Removed redundant type argument on configuration.get<TSetting>(key, value) — the type is inferred from value.

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