Image Resizer plugin import error

Hello, everyone.
I am trying to use image resizer plugin to change quality and reduce size of an image taken from phone storage (via photo viewer plugin). After resizer plugin is successfully installed , I am importing it in app.module providers, but I get an error both from TS lint and chrome console.
TS lint error:
Chrome console error:

Is there an error in plugin itself or what am I missing?

Refer here: Ionic native issue in ionic app

Thanks a lot, that solved my issue! now “@ionic-native/image-resizer”: “^4.20.0” works. Don’t know why latest version didn’t work tho…

it was due to the upgrade of ionic to v4