Skip to content

Angular Language Service should allow using workspace TypeScript version instead of forcing bundled TS 6 #69145

@TheGuayeah

Description

@TheGuayeah

Is this a bug report or a feature request?

  • Bug Report
  • Feature Request

Please provide the steps to reproduce the issue [Bug Report only]

No response

Please provide the expected behavior vs the actual behavior you encountered [Bug Report only]

No response

Please provide a screenshot if possible [Bug Report only]

No response

Please provide the exception or error you saw [Bug Report only]


Description [Feature Request only]

Description

After upgrading Angular Language Service to v22.0.0, the extension now bundles and forces TypeScript 6.0, ignoring the workspace TypeScript version configured in VSCode (typescript.tsdk).

This breaks compatibility with older Angular projects (e.g. Angular 14), which depend on specific TypeScript versions (e.g. 4.7.4).

Previously, the extension respected the workspace TypeScript version.

Proposed solution [Feature Request only]

Expected behavior

Angular Language Service should:

  • Allow using the workspace TypeScript version (like the built-in TS/JS extension)
  • Respect typescript.tsdk setting
  • Or provide a setting to select:
    • Bundled TypeScript
    • Workspace TypeScript

Actual behavior

  • Extension always uses bundled TypeScript 6.0
  • Ignores workspace TypeScript (even when typescript.tsdk is set)
  • Causes type errors in older Angular versions that were not present before

Alternatives considered [Feature Request only]

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: language-serviceIssues related to Angular's VS Code language servicegemini-triagedLabel noting that an issue has been triaged by gemini

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions