We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Version: 2.7.0-dev.201xxxxx
Follow up on #14056
Code In a simple JS node project, with index.js:
index.js
const stream = require('stream') /** * @param {stream.Readable} stream */ function foo(stream) { ... }
Expected behavior: stream.Readable is correctly resolved even though it is really used as value here
stream.Readable
Actual behavior: Error: 'Cannot find namespace 'stream'.'
'Cannot find namespace 'stream'.'
The text was updated successfully, but these errors were encountered:
Duplicate of #16489
Sorry, something went wrong.
Thanks @mhegazy! Closing as duplicate of #16489
No branches or pull requests
TypeScript Version: 2.7.0-dev.201xxxxx
Follow up on #14056
Code
In a simple JS node project, with
index.js
:Expected behavior:
stream.Readable
is correctly resolved even though it is really used as value hereActual behavior:
Error:
'Cannot find namespace 'stream'.'
The text was updated successfully, but these errors were encountered: