Microsoft/TypeScript
Unable to get intellisense from IIFE functions
Aperta
#49.742 aperta il 29 giu 2022
Experience EnhancementHelp WantedSuggestion
Metriche repository
- Star
- (108.860 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.68.1
- OS Version: Windows_NT x64 10.0.19044
Steps to Reproduce:
- Create a object.
/** @namespace a */
var a = {};
- Add a property to object in function (IIFE)
(function(){
/** @type {boolean} */
a.b = false;
})();
It's show any when hover a.b, not boolean. And you will not see the IntelliSense when typing a..
