Skip to content

module not resolved in JS file using var x = require('...') syntax #11825

Closed
@waderyan

Description

@waderyan

From @timty on October 19, 2016 17:18

Intellisense works great for my postgress Pool type when explicitly declared:

screen shot 2016-10-19 at 10 16 03 am

However when passed as a parameter to a function and described through a JSDoc parameter intellisense fails:

screen shot 2016-10-19 at 10 14 57 am

  • VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T15:27:10.246Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions: Unity.unity-debug-1.0.1, benjaminromano.typings-installer-0.2.0, dbaeumer.vscode-eslint-1.0.7, dkundel.vscode-npm-source-0.0.3, joelday.docthis-0.3.4, mohsen1.prettify-json-0.0.3, ms-vscode.omnisharp-0.3.3, rafaelmaiolla.diff-0.0.1, stevencl.addDocComments-0.0.8, xabikos.JavaScriptSnippets-1.1.0, xabikos.ReactSnippets-1.1.1

Copied from original issue: microsoft/vscode#14008

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions