opentok/opentok-node

Address outdated type definitions

rossng opened this issue · 2 comments

The unofficial type definitions provided through DefinitelyTyped (@types/opentok) have become pretty outdated and are missing a bunch of methods in the current version (2.10.0) of the SDK.

Given how widespread TypeScript usage is today, it would make sense to either support these officially or bring them into the repository itself.

As a stop-gap measure, I've made my own PR to DefinitelyTyped that should bring the definitions fairly up to date.

DefinitelyTyped/DefinitelyTyped#49959

Thanks for this @rossng - I'm hoping we can get better TypeScript support starting next year. Appreciate your contribution to the community with this.