From 2a6616a39cea12b236d1f356705d7a9aad1549dd Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Sun, 31 May 2020 14:16:44 +0100 Subject: [PATCH] Correct typings for onReady Fixes https://github.com/CookPete/react-player/issues/884 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 703fb3a5..0b59a6bd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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;