angular2-image-popup icon indicating copy to clipboard operation
angular2-image-popup copied to clipboard

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

Open hefox opened this issue 8 years ago • 0 comments

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.

hefox avatar Feb 08 '17 06:02 hefox