天天看点

Typescript: 当出现错误时,不编译文件成js文件

tsconfg.json

文件中添加如下选项

"noEmitOnError": true,                            /* Disable emitting files if any type checking errors are reported. */
           

博观而约取,厚积而薄发