How to call typescript class method from js file

How to call my typeScript class method from javaScript class of custom cordova plugin?

If you were somebody attempting to help you, what information would you want?

I have created a custom cordova plugin to receive oracle push notification on my native side i.e. android side now after receiving notification i have sent that notification data back to my javascript file using cordovawebview.

Now i want to pass this notification data from plugin’s js file to my typescript file.

so how can i call some method of typescript class from js file?