Javascript – ts-node cannot find dependent module
Assume to have simple typescript program having two files: src/hello.js export default function hello() { return 'Hello world' } src/say.js import hello from './hello.js' console.log(hello()) with the following tsconfig.json { "compilerOptions": { "lib": ["es2023"], "module": "node16", "target": "es2022", "strict": true,…