error TS2351 解决方案 错误详情 错误TS2351:不能将“new”与类型缺少调用或构造签名的表达式一起使用。 Cannot use 'new' with an expression whose type lacks a call or construct signature. 解决方法 去掉 import 中的 * as 原因 如: import * as Router from 'koa-router'; 解决方法去掉 * as,我们...