Flow has builtin support for standard Node modules such as "fs". What is the proper way to use those? I tried this:
const fs: fs = require('fs');
fs.someUnknownMethod();
I expected Flow to flag that last line, but it didn't.
via Mark Volkmann
No comments:
Post a Comment