Angular2:ElementRef不是泛型
我安装了ng2引导 但是我越来越 node_modules/@ng bootstrap/ng bootstrap/typeahead/typeahead.d.ts(94,30): 错误TS2315:类型“ElementRef”不是泛型Angular2:ElementRef不是泛型,angular,Angular,我安装了ng2引导 但是我越来越 node_modules/@ng bootstrap/ng bootstrap/typeahead/typeahead.d.ts(94,30): 错误TS2315:类型“ElementRef”不是泛型 我如何纠正它???参考此,我们如何将bootstrap 2.0的版本降级为1.0..卸载以前的版本,然后运行npm install@ng bootstrap/ng-bootstrap@1.1.0--保存命令。
我如何纠正它???参考此,我们如何将bootstrap 2.0的版本降级为1.0..卸载以前的版本,然后运行npm install@ng bootstrap/ng-bootstrap@1.1.0--保存命令。