Zoom & Ionic 5 Issue

Hi

i am getting error “‘Zoom’ refers to a value, but is being used as a type here. Did you mean ‘typeof Zoom’?”

import { Zoom } from ‘@ionic-native/zoom’;
constructor(private zoomService: Zoom) { }

when trying to add Zoom plugin in Ionic 5, anyway to fix this ?

Regards,

Hi
replace import { Zoom } from ‘@ionic-native/zoom’;
with import { Zoom} from “@ionic-native/zoom/ngx”
thanks.

1 Like

@srikarkonda98 Thanks for helping!