How would I use the interfaces Ionic uses behind the scenes?

Hey everyone!

I am trying to use the ToastOptions interface that Ionic uses for their ToastController. I have found the file where the interface exists and it is being exported, but I can’t seem to get it imported into my service. Is there a way to use it directly without having to duplicate it?

How about import {ToastOptions} from "@ionic/core"?

My IDE states that the @ionic/core module has no exported member called ToastOptions.

My IDE (WebStorm) has no problem with it, and the app builds and runs just fine as well.

My apologies. I was importing @ionic-native/core. facepalm It’s working now! Thank you!