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.

typescript-2-8-1

Actual behavior:

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

typescript-2-9-0

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

starts-and-stops

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

Most upvoted comments

Hi @sheetalkamat, is there any update on this issue?