bash

npm i ts-node -g
npm i nodemon -g

index.ts

const foo: string = 'Hello'
console.log(foo)

bash

nodemon index.ts

相关文章: