react-use-intercom
react-use-intercom copied to clipboard
Typescript Generics
Hi, it would be great to add generics for specifics functions like trackEvent
something like:
trackEvent: <T = object>(event: string, metaData?: T) => void;
Thanks!
Hi Samuel,
That would be nice indeed! Would you mind picking this up and submit a PR?