You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
Whenever a tsconfig.json works with tsc, it works with langserver as well. E.g. it doesn't show errors on files which build with tsc just fine.
Actual behavior:
If I have a modern target in tsconfig.json, tsc includes the relevant libs automatically while langserver doesn't and shows an error because it doesn't recognize Map and Promise.
Expected behavior:
Whenever a
tsconfig.json
works withtsc
, it works withlangserver
as well. E.g. it doesn't show errors on files which build withtsc
just fine.Actual behavior:
If I have a modern
target
intsconfig.json
,tsc
includes the relevantlibs
automatically whilelangserver
doesn't and shows an error because it doesn't recognizeMap
andPromise
.Detailed description:
I have the following
tsconfig.json
:Which works both with
tsc -p .
andlangserver
.However, when I delete the
lib
line, the langserver stops recognizing the library features such asPromise
andMap
.The text was updated successfully, but these errors were encountered: