TypeScript: IntelliSense typing info in 2.9.0-dev.20180407 release doesn't work
TypeScript Version: 2.9.0-dev.20180407
Search Terms: intellisense, missing types
Perhaps I’m missing something here, as I don’t use typescript and have always just used the version that vscode ships with for intellisense, but after updating to the latest for a fix of a prev issue I posted about (see bottom) I now have the following issue.
See the following gifs for an explanation:
Expected behavior:
This is what happens in version 2.8.1. It also successfully recognises the type definitions file.

Actual behavior:
This is currently what happens in the 2.9.0-dev version. The type definitions file is not found.

Furthermore it happens with any module e.g this is the react one. Note that it works initially then just fails afterwards:

Workaround:
I can get it to work again by manually installing each of the types i.e @types/chai etc. However that’s not ideal so I’ve reverted back to 2.8.1 for the time being.
Related Issues:
I brought up an issue with intellisense crashing in 2.8.1, but am unsure if this is a side effect from that or just another issue entirely. So whilst the path issues are fixed in 2.9, the outlined issue above now shows up.
https://github.com/Microsoft/TypeScript/issues/23234
I can provide the typescript log in private if need be.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 25 (12 by maintainers)
Commits related to this issue
- Fix the crash when reporting errors of file that was referenced by inferred project root, is opened right after closing the root file Fixes the crash reported in https://github.com/Microsoft/TypeScrip... — committed to microsoft/TypeScript by sheetalkamat 6 years ago
- Fix the crash when reporting errors of file that was referenced by inferred project root, is opened right after closing the root file Fixes the crash reported in https://github.com/Microsoft/TypeScrip... — committed to microsoft/TypeScript by sheetalkamat 6 years ago
- Fix the crash when reporting errors of file that was referenced by inferred project root, is opened right after closing the root file Fixes the crash reported in https://github.com/Microsoft/TypeScrip... — committed to microsoft/TypeScript by sheetalkamat 6 years ago
Hi @sheetalkamat, is there any update on this issue?