We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In v2 onReady is invoked with the player instance, this is not reflected yet on the type definition.
https://github.com/CookPete/react-player/blob/32bb251a60f1a6449bd20e6dcf4c7dbfaeab02b7/index.d.ts#L92
Think it should be
onReady?(player: ReactPlayer): void;
The text was updated successfully, but these errors were encountered:
2a6616a
Correct typings for onReady
1270b55
Fixes cookpete/react-player#884
97a2637
94717f9
No branches or pull requests
In v2 onReady is invoked with the player instance, this is not reflected yet on the type definition.
https://github.com/CookPete/react-player/blob/32bb251a60f1a6449bd20e6dcf4c7dbfaeab02b7/index.d.ts#L92
Think it should be
The text was updated successfully, but these errors were encountered: