fegyi001 / mangol

Maps created with Angular & OpenLayers using Material design
http://188.166.116.137/mangol/
98 stars 47 forks source link

TS7006: Parameter 'event' implicitly has an 'any' type. #10

Closed gotnull closed 7 years ago

gotnull commented 7 years ago

I set "noImplicitAny": true in my tsconfig.json to enforce type declarations.

Line 45 of node_modules/mangol/src/lib/modules/print/print.component.ts

Error: TS7006: Parameter 'event' implicitly has an 'any' type.

map.once('postcompose', function (event)

Should be:

map.once('postcompose', function (event: any)

fegyi001 commented 7 years ago

Thanks for the remark, it is fixed now in version 0.3.16

vishambardutt commented 2 years ago

i put function in app.component.ts file myEvent(evt){ console.log(evt ); } and call this function in app.component.html <button (click)="myEvents('This is click event')">CLICK ME showing error: src/app/app.component.ts:16:10 - error TS7006: Parameter 'evt' implicitly has an 'any' type.

I set "noImplicitAny": true in my tsconfig.json to enforce type declarations. yet not working

kindly help me

VishnuVardhanReddy96 commented 1 year ago

Thanks