Type 'DiagnosticOriginal' is not assignable to type 'Provider'. Type 'DiagnosticOriginal' is missing the following properties from type 'FactoryProvider': provide, useFactoryts(2322) code example
Example: Type 'CameraOriginal' is not assignable to type 'Provider'.
// change this line:
import { InAppBrowser } from '@ionic-native/in-app-browser';
// to this:
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';