Hello there, I'm trying to use the module with Typescript and I just saw that there is a missing type for IntercomAPI. Is there any plan to add and export also that types? Thanks for the module BTW!
EDIT:
If this can help, here is my current extends of your types:
import*asReactIntercomfrom'react-intercom';typeIntercomActions='boot'|'shutdown'|'hide'|'update'|'show'|'showNewMessage'|'showMessages'|'onHide'|'onShow'|'onUnreadCountChange'|'trackEvent'|'getVisitorId'|'startTour'typeIntercomOptions=any;declaremodule'react-intercom'{constIntercomAPI: (action: IntercomActions,options?: IntercomOptions)=>void;}
Hello there, I'm trying to use the module with Typescript and I just saw that there is a missing type for
IntercomAPI. Is there any plan to add and export also that types? Thanks for the module BTW!EDIT:
If this can help, here is my current extends of your types: