qonversion / react-native-sdk

React Native SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript support

hanakslr opened this issue · comments

Hi, I was wondering if there are any plans to add typescript support? The current index.js throws a bunch of errors in my IDE because it contains type annotations in a .js file. I put a definition file together to avoid some runtime type errors - the gist is here. I can submit a proper pull request, but have never written a definition file before so it probably shouldn't be taken at face value.

Other than that am enjoying how smooth the integration is going!

Hi @hanakslr
Thank you so much, we are happy you like our service.
Yes, we will add typescript support in the next few weeks. I will not promise you a concrete day, but we will do it ASAP.
Keep for updates 🤝

@suriksarkisyan what is the eta on TS support?

Hi, @spotelf13
TS support will be available in the next few days. Keep in touch😊

Hi guys. Happy to say React Native SDK 2.5.0 with TypeScript support is released.