-
Notifications
You must be signed in to change notification settings - Fork 63
Typescript compilation #22
Comments
I'm getting this one too, [email protected] works ok from cli but your integrated version throws some errors when importing modules Ex:
But it seems like it's a limitation from |
Yes, we depend on javascript-typescript-langserver as the typescript server itself does not talk Microsoft's own language server protocol (despite me asking both the TS team and Anders :( ) |
For anyone interested, here's a relevant TS issue microsoft/TypeScript#11274. When/if TypeScript implements LSP natively, this will be very straightforward to fix. Until then, probably not. |
@damieng @lierdakil thanks for the input, we'll have to wait and see. |
Yeah, thanks for the info! Will wait and see how this evolves. |
Ah, that explains why It might help to change this issue's title to something like "ide-typescript uses an older version of typescript". Wishing luck and smooth coding to the MS team. |
The latest ide-typescript package now uses TypeScript 2.7.2 (the latest stable) so these specific errors should now be gone. |
I can still see the problem. For example, by using this repo: https://github.com/infernojs/inferno-typescript-example Compiling with |
@damieng , I just installed the package ide-typescript and see the same error as in the topic, can you please help? |
I get the same errors. They go away if I reload Atom. |
A lot of these errors are being caused in a lower layer of ide-typescript known as the SourceGraph language server wrapper for TypeScript. I'm working on switching ide-typescript away from that to a more reliable language server known as Theia which should solve this problem and many others. It will be in the next release hopefully out in the next few days if we can sort out the remaining issues. |
Hi, is there any doc explaining how the compilation works? In my project "tsc" return no error. ide-typescript finds hundreds of errors. It looks like it is using some outdated Typescript version. Can this be somehow configured?
I even got error on "import * as React from 'react';" -
File '/Users/tomi/Github/packages/webpack2-typescript-2/node_modules/@types/react/index.d.ts' is not a module.
But overall the first look is impressive!
The text was updated successfully, but these errors were encountered: