Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Export interfaces as part of a plugin

$
0
0

Hi there!

I am developing a capacitor plugin. I followed these instructions and the plugin is working. I would like to do some refactoring now. To be more precise, I would like to export some interfaces along with the plugin methods which the clients of the plugin can consume (e.g. interfaces encapsulating the parameters of the plugin methods). I am quite new to the React/Typescript environment. I know how to export objects in a “normal” Typescript setting, but for me this plugin system is kind of a closed book and I would be very happy if somebody could elaborate on this a little.

Thank you very much in advance.
Rony

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>