flow icon indicating copy to clipboard operation
flow copied to clipboard

Improve autocomplete according to Node.js docs

Open svipas opened this issue 8 years ago • 1 comments

Hello,

my suggestion is to improve autocomplete according to Node.js docs, because sometimes it lacks of autocomplete in some places, for e.g.

const dgram = require('dgram');
const server = dgram.createSocket('udp4'); // There's no autocomplete for udp4 and udp6

This is not only this place, there are more.

svipas avatar May 23 '17 20:05 svipas

Flow would first need to support this type of autocomplete (it currently does not). Then if string literals or object properties are typed properly, you'd get the autocomplete of interest.

See: https://github.com/facebook/flow/issues/3074.

niieani avatar May 28 '17 07:05 niieani