You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above are essentially N/A, this is a definitions bug that is reflected in the code editor.
Description
index.d.ts currently lists getAudioRoutes() as returning Promise<void>. The readme suggests it should be returning Promise<AudioRoute[]>, correlated by the Java module.
Using getAudioRoutes thus requires a cast of getAudioRoutes() as unknown as Promise<AudioRoute[]> or similar.
Bug report
I've checked the example to reproduce the issue.
Reproduced on:
Android
iOS
Above are essentially N/A, this is a definitions bug that is reflected in the code editor.
Description
index.d.ts
currently listsgetAudioRoutes()
as returningPromise<void>
. The readme suggests it should be returningPromise<AudioRoute[]>
, correlated by the Java module.Using getAudioRoutes thus requires a cast of
getAudioRoutes() as unknown as Promise<AudioRoute[]>
or similar.The problematic line is located here:
react-native-callkeep/index.d.ts
Line 225 in cc308ce
This appears to have been broken in this change: 0cba24e#diff-7aa4473ede4abd9ec099e87fec67fd57afafaf39e05d493ab4533acc38547eb8
Steps to Reproduce
Use
getAudioRoutes()
in your code editor.Versions
Logs
N/A
The text was updated successfully, but these errors were encountered: