[Question] Why aren't certain standard built-in objects recognized by the language server?
anthony-S93 opened this issue · comments
I noticed that the language server doesn't recognize certain build-in objects . By "recognize" I mean provide autocompletions, semantic tokens, etc.
Take Function
vs Symbol
, for instance. The language server recognizes the former but not the latter.
tsserver_issue-2023-11-16_11.14.43.mp4
Is this by design?
It's decided in your tsconfig.json
which features of the environment are enabled. Options like compilerOptions.target
and compilerOptions.lib
. Refer to https://www.typescriptlang.org/tsconfig