Variable type not used for IntelliSense of object literal when type is declared in comment #24285
Labels
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Test tour #23385
When declared in TypeScript this work, in JavaScript comments it doesn't:
The variable has that type and it is used when accessing it:
![screen shot 2017-04-07 at 4 21 44 pm](https://cloud.githubusercontent.com/assets/9205389/24823058/4bb8866c-1baf-11e7-91c3-a9cff6fb46d8.png)
The source:
/cc @roblourens
The text was updated successfully, but these errors were encountered: