Closed ZeeAzmat-punch closed 7 years ago
You need to set tsconfig.json
compilerOptions.lib from "es6" to "es7". At least that is how I resolved this.
It works if we could have line 10 and 11 in ng2-breadcrumb/app/components/breadcrumbService.ts
changed from:
private hideRoutes: Array
As @bbrink68 mentioned, I have resolved by updating tsconfig.json with following lines. "lib": [ "dom", "es7" ], [Reference Url] (https://github.com/AngularClass/angular2-webpack-starter/issues/931)
I implemented @DennisHoy suggestion. Hope this does the trick as it should really not be necessary to compile against es7, I myself use es5.
breadcrumbService.ts:90:29 breadcrumbService.ts:99:34 breadcrumbService.ts:108:35
Getting this error in breadcrumbservice.ts when installed ng-breadcrumb, help would be appreciated.