Skip to content

Commit

Permalink
Correct typings for onReady
Browse files Browse the repository at this point in the history
Fixes #884
  • Loading branch information
cookpete committed May 31, 2020
1 parent 9d679f5 commit 2a6616a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -90,7 +90,7 @@ export interface ReactPlayerProps {
light?: boolean | string;
wrapper?: any;
config?: Config;
onReady?(): void;
onReady?(player: ReactPlayer): void;
onStart?(): void;
onPlay?(): void;
onPause?(): void;
Expand Down

0 comments on commit 2a6616a

Please sign in to comment.