Skip to content

Commit

Permalink
Correct typings for onReady
Browse files Browse the repository at this point in the history
  • Loading branch information
Webmaster1116 committed May 31, 2020
1 parent 795407d commit 1270b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
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 1270b55

Please sign in to comment.