TypeScript compiler is installed we need to create some basic config in the project root directory. code example Example: how to run typescript file npx ts-node src/foo.ts