#Statically typed links doesn t seem to

1 messages · Page 1 of 1 (latest)

balmy pendant
#

I have a similar issue with export const metadata = {}.

#

It seems that VS Code doesn't automatically detect the workspace version of TypeScript that are installed under node_modules in the root of my workspace.

#

@shell sentinel I'll answer in this thread

#

I'm using VSC.

shell sentinel
#

Then select the workspace version of TS instead of the bundled one

balmy pendant
#

This is everything I see

#

CC @random jungle @stoic bay @winter spire

shell sentinel
#

Don't use unsolicited pings!

balmy pendant
#

Srry

#

Any idea then how I can enable that "Use Workspace Version"?

#

I have this in my ./apps/web/.vscode/settings.json.

{
  "typescript.tsdk": "../../node_modules/.pnpm/typescript@4.9.4/node_modules/typescript/lib",
  "typescript.enablePromptUseWorkspaceTsdk": true
}