const files = Deno.readDirSync(Deno.cwd()).map(x => x.name);
Property 'map' does not exist on type 'Iterable<DirEntry>'.
Join the Discord to ask follow-up questions and connect with the community
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934 Members