ts-node ignores d.ts files while tsc successfully compiles the project

前端 未结 4 583
伪装坚强ぢ
伪装坚强ぢ 2021-02-03 17:20

Having compiled my TypeScript project successfully, I intended to run it in VS Code\'s debug mode using ts-node. Problem is, ts-node can\'t find

4条回答
  •  情歌与酒
    2021-02-03 17:56

    ts-node --files src/boot.ts

    ts-node in 7.0.0, default do not Load files from tsconfig.json on startup, you should specific --files

提交回复
热议问题