gmostert / ng2-breadcrumb

This is an angular 2 component that creates a breadcrumb trail. It hooks into the angular2/router, to dynamically build up the crumb trail once a component is routed to.
MIT License
102 stars 81 forks source link

Errors while AOT-Compiling #52

Closed djanesch closed 7 years ago

djanesch commented 7 years ago

I got the following errors while compiling the project with AOT. Error at ./node_modules/ng2-breadcrumb/app/components/breadcrumbService.ts:8:46: Parameter 'string' implicitly has an 'any' type. Error at ./node_modules/ng2-breadcrumb/app/components/breadcrumbService.ts:8:84: Parameter 'string' implicitly has an 'any' type. Error at ./node_modules/ng2-breadcrumb/app/components/breadcrumbService.ts:9:51: Parameter 'string' implicitly has an 'any' type. Error at ./node_modules/ng2-breadcrumb/app/components/breadcrumbService.ts:9:89: Parameter 'string' implicitly has an 'any' type. Error at ./node_modules/ng2-breadcrumb/app/components/breadcrumbService.ts:110:39: Parameter 'value' implicitly has an 'any' type.

I have corrected them myself but maybe you could also correct them to be in the next version.

heimdallrj commented 7 years ago

I think PR #49 is fix for this.

gmostert commented 7 years ago

Fixed in v0.5.8, thnx @Fulminant