How can I access Node type interfaces inside "modules"? #26891
Labels
javascript
JavaScript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
myHandler.js
Node built in (or ATA'd) types:
Expected
I can somehow mark
req
in my function as being of typehttp.IncomingMessage
Actual
It's impossible to get these types linked unless I manually create an object thus
Or use a function that
http
exposes that uses that type likecreateServer
.The text was updated successfully, but these errors were encountered: