-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
From @denysyefimenko on April 18, 2016 11:9
- VSCode Version: 1.0.0
- OS Version: Windows 10 Enterprise
Steps to Reproduce:
- Create two js files.
moduleA.js
var constructorFunction = function () {};
constructorFunction.prototype.prototypeMethod = function () {};
module.exports = constructorFunction;moduleB.js
var moduleA = require('./moduleA');
var constructedObject = new moduleA();
constructedObject.- Try get intellisense suggestion after dot in moduleB.
- No intellisense provided.
- If I change code in moduleA as following:
function constructorFunction () {}
constructorFunction.prototype.prototypeMethod = function () {};
module.exports = constructorFunction;intellisense in moduleB starts working.
Expected result: intellisense works no matter how exported function is defined.
Copied from original issue: microsoft/vscode#5442
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue