You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
NOTE: This comment on its own does nothing. But if you stick to the template, that is including the fs module exactly the same way naming it also "fs", the compiler will know how to handle the module and its subcomponents. For example:
// This is bad:varEventEmitter=require("events").EventEmitter;// This is good:varevents=require("events");varEventEmitter=events.EventEmitter;
The description and the example don't fully match up for me. I just tried compiling something with
var f = require("fs")
var cp = require("child_process")
and it worked fine. Is that what's expected?
Also thank you for this project!
The text was updated successfully, but these errors were encountered:
Oh, that's cool. That said do you know any points of reference for properly writing externs for node modules? I don't quit understand how it deals with the fact that things can be imported under different names...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The description and the example don't fully match up for me. I just tried compiling something with
and it worked fine. Is that what's expected?
Also thank you for this project!
The text was updated successfully, but these errors were encountered: