Closed Prabuganesan closed 6 years ago
I have the same issue. The way around it is to edit the 'index.d.ts' file in node_modules/ionic-native/push and add your own events like so
Not exactly ideal though as you have to do this everywhere you restore node_modules
Thanks @kaiukdevelopment . But I have try this already. But no use.
Current behavior: I have used push plugin. When i try to define call back methods for push action the following error occured [ts] Argument of type '"accept"' is not assignable to parameter of type 'PushEvent'. [ts] Argument of type '"reject"' is not assignable to parameter of type 'PushEvent'.
Related code:
Other information:
package.json info: