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
Reproduced on the latest master.
npm install @types/node
.js
var fs = require("fs"); fs.
.
Expected: should see the content of fs module Actual: completion list contains only identifiers in current file
fs
Everything works as expected if I use import statement import * as fs from "fs"; instead of require.
import * as fs from "fs";
require
Issue was introduces with this change since node declares ambient function require
node
The text was updated successfully, but these errors were encountered:
vladima
Successfully merging a pull request may close this issue.
Reproduced on the latest master.
npm install @types/node
.js
file with content.
Expected: should see the content of
fs
moduleActual: completion list contains only identifiers in current file
Everything works as expected if I use import statement
import * as fs from "fs";
instead ofrequire
.Issue was introduces with this change since
node
declares ambient functionrequire
The text was updated successfully, but these errors were encountered: