Can I use JavaScript?
I changed the package.json file, and the program runs normally. I'm not sure if I need to change anything else.

2 Replies
can you? yes
should you? hell no
nodejs can directly run typescript w/o building, by stripping off the types
so there is no reason to write normal js
node --experimental-transform-types src/index.ts
(looks like type-stripping is enabled by default, but type transforming is still experimental and must be passed as a flag)Node.js — Running TypeScript Natively
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.