Skip to content
New issue

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

Why doesn't it show me the write function of writerStream? #199

Closed
talkw-liu opened this issue Aug 13, 2018 · 1 comment
Closed

Why doesn't it show me the write function of writerStream? #199

talkw-liu opened this issue Aug 13, 2018 · 1 comment

Comments

@talkw-liu
Copy link

var fs = require("fs");
var rs = fs.createReadStream('./a.txt');
var ws = fs.createWriteStream('./copy.txt');
rs.on('data', function(chunk) {
ws.write(chunk);
});

It does't show me the write funciton when i enter "ws.", and i only see some functions such as "bind,toString,valueOf...".I don't know why and i need some help.

@othree
Copy link
Collaborator

othree commented Aug 30, 2018

I believe this is a issue belongs to tern its self.
Could you move this issue to there? I will close this one.

ref: https://github.com/ternjs/tern/blob/master/plugin/node.js#L1740

@othree othree closed this as completed Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants