Skip to content

VideoPlayer component error importing type MuxPlayerProps #97

@claygiffin

Description

@claygiffin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions