When using the <VideoPlayer> component, type VideoPlayerProps is being imported as any instead of extending MuxPlayerProps. I was able to temporarily fix this by editing the index.d.ts file and changing:
import { type MuxPlayerProps } from '@mux/mux-player-react/.';
to
import { type MuxPlayerProps } from '@mux/mux-player-react';
It looks like there is an incorrect trailing /. that is breaking the import.
When using the
<VideoPlayer>component, typeVideoPlayerPropsis being imported asanyinstead of extendingMuxPlayerProps. I was able to temporarily fix this by editing theindex.d.tsfile and changing:to
It looks like there is an incorrect trailing
/.that is breaking the import.