Comment

Comment by jajag

> But I do believe they got the syntax wrong - should have been "from fs import { readFile }" so that auto-complete works.

Personally, I prefer the "import x from y" format because it makes it easier to visually scan where an import is coming from; fair point about auto-complete though.

parent jajag 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton