It's used when tsc
is used only for type checking, not for compilation. That's the case when some other tool (like Webpack, Parcel or Rollup) is responsible for compiling your code.
If you are interested in running your code in an interactive mode, look into ts-node or ts-node-dev.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…