在上一次升级到Angular 6之后,出现了一个有趣的警告:Error during template compile of ‘moduleName’.可以肯定的是,这与此有关:Error: The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.8.3 was found insteadAngular 5与TS 2.8.3一起工作得很好,并且没有任何描述的问题。
有人能解释一下如何修复这个问题吗?为什么你会发布与最新TS不兼容的新版本
我试图在TypeScript 1.5.3和SystemJS中使用角1.x。index.html页面被设置为System.import('bootstrapper'),应该启动该页面。不幸的是,做import angular from 'angular'不能编译,我得到了Module "angular" has no default export。我的问题是:
为什么import angular from 'angular</