ts

初始化

pnpm add -D ts-node @types/node typescript
tsc --init

测试代码 index.ts

console.log(111)
pnpx ts-node  index.ts