This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
use the typescript version that is adjacent to the tsconfig.json
#350
Open
Description
Thanks for working on this.
I'm using javascript-typescript-langserver
in atom via ide-typescript
. At the moment javascript-typescript-langserver
is using it's bundled typescript version. But that leads to projects using features from newer typescript versions to be broken. It could also lead to projects using older typescript version not working because some default behaviour changed.
At the moment I get around this issue by cd-ing into the installed javascript-typescript-langserver
's directory and upgrading the typescript dependency manually npm i typescript@latest
.
I made a repro repo. It's using string enum that have been added in ts 2.4 thus it's not working. Running npm run build
builds it fine using the installed typescript@2.5.