eslint无法检测ts类型错误

因为eslint就是这样设计的,类型错误交给tsc来处理。

参考官方回答

原文地址:https://www.cnblogs.com/AFu-1993/p/13517608.html