vimalavinisha/angular2-image-popup

Parameter 'index' implicitly has an 'any' type.

Opened this issue · 0 comments

hefox commented

Using latest master, when trying to include the component, I get this error: ERROR in directives/angular2-image-popup/angular2-image-popup.ts (66,15): error TS7006: Parameter 'index' implicitly has an 'any' type.

I'm new to typset but looks like if not running in a mode that ignores implicit, it'll give this error because index doesn't have a type set. I propose adding a type so that it work both with or without implicit mode.