From 1a44c33bd82ebef50473323e01f8af5d09684c80 Mon Sep 17 00:00:00 2001 From: Sinksar von Quillfeldt <61753569+sinksar@users.noreply.github.com> Date: Tue, 13 Feb 2024 13:56:00 +0100 Subject: [PATCH] Update jwplayer-react.d.ts Changed the didMountCallback to use the DidMountCallbackArguments as function parameter. --- src/jwplayer-react.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jwplayer-react.d.ts b/src/jwplayer-react.d.ts index c4c3348..5ae2f9f 100644 --- a/src/jwplayer-react.d.ts +++ b/src/jwplayer-react.d.ts @@ -89,7 +89,7 @@ declare module '@jwplayer/jwplayer-react' { player: JWPlayer; } - type DidMountCallback = () => void; + type DidMountCallback = (DidMountCallbackArguments) => void; export interface JWPlayerProps extends JWPlayerConfig { didMountCallback?: DidMountCallback;