opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
210 stars 155 forks source link

2.25.3 - Invalid Typescript Type Definitions #690

Closed relm923 closed 10 months ago

relm923 commented 11 months ago

Bug Report

Current behavior Valid TS type definitions

Steps to reproduce Upgrade to 2.25.3 and type check the new type definitions. This breaks Typescript apps

Example Project

What is the current bug behavior? Cannot build Typescript app with 2.25.3

What is the expected correct behavior? Valid type definitions

Relevant logs and/or screenshots https://github.com/opentok/opentok-react-native/blob/main/%40types/index.d.ts#L407

vona-ben commented 11 months ago

Thank you for your contribution @relm923 . We will check this