Type 'DiagnosticOriginal' is not assignable to type 'Provider' 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';