electerious / ackee-tracker

Transfer data to Ackee.
MIT License
196 stars 22 forks source link

typescript definitions + remove unnecessary warning #17

Closed PabloSzx closed 4 years ago

PabloSzx commented 4 years ago

I wanted to implement use-ackee in a Next.js project programmatically as mentioned in #15 but I realized there are no TypeScript definitions neither in ackee-tracker or use-ackee, and to do things right I need the definitions in here before making them for use-ackee.

I also had to remove the warning Ackee is not executing automatically... on server side because in any server side rendering project it would print it in every page (in console) for nothing.

electerious commented 4 years ago

Thanks for adding TS definitions, but I'm not a TS user and therefore don't want to maintain type definitions for my projects.