Skip to content

TypeScript versions mismatch triggering VS Code prompt? #3

@raulrpearson

Description

@raulrpearson

Whenever I open up a source file in a lesson folder in VS Code for the first time, I get a toast message "This workspace contains a TypeScript version. Would you like to use the workspace TypeScript version for TypeScript and JavaScript language features?".

I think this is coming from the 4.9.5 spec in the .vscode/settings.json file:

{
  "typescript.tsdk": "node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib",
  "//": "..."
}

But package.json is specifying "typescript": "5.1.6".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions