News for hackers. Stuff that matters.
Re:NPM and NodeJS should do more to make ES Modules easy to use by danvk on Thursday June 20, 2024 @03:05PM (#40742088)
You can work around this by typing your import statement inside-out:

import {} from 'fs';

Then move your cursor back inside the {} and you'll have nice autocomplete. Works with object destructuring, too.

There are no comments on this comment yet.