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;