1
我刚刚升级的反应,引导分型和我得到的错误:阵营,引导肯定是类型的:错误TS2309:一个出口分配不能在模块中使用与其他出口元素
Error TS2309: An export assignment cannot be used in a module with other exported elements.
上此行:
declare namespace ReactBootstrap {
// Import React
import React = __React;
//definitions omitted
}
declare module "react-bootstrap" {
export = ReactBootstrap; //Error TS2309: An export assignment cannot be used in a module with other exported elements.
}
定义文件错了还是我做错了什么?