Filip Seman
Filip Seman
DDeno
Created by Filip Seman on 11/10/2023 in #help
Is possible to run nodejs (typescript) project with esm modules?
I'm trying to run small nodejs project with esm modules. Simple example
// foo.ts
import { bar } from './bar.js';

// bar.ts
exportconst bar = 'bar';
// foo.ts
import { bar } from './bar.js';

// bar.ts
exportconst bar = 'bar';
i'm getting error: Module not found "file:///tmp/tmp.LPU7JDdIZK/bar.js".
22 replies
DDeno
Created by Filip Seman on 11/19/2022 in #help
vscode unable to resolve types
8 replies