Skip to content

Type error: Duplicate property 'play' since version 2.29.4 #1114

@awidmer-hf

Description

@awidmer-hf

Hey everybody

This week I tried to build my project, and got following error:

#20 16.70 ./node_modules/@vimeo/player/types/events.ts:226:5 #20 16.70 Type error: Duplicate property 'play'. #20 16.70 #20 16.70 224 | /** Maps event names to their corresponding event data types */ #20 16.70 225 | export interface PlayerEventMap { #20 16.70 > 226 | [PlayerEvent.Play]: VimeoEvent; #20 16.70 | ^ #20 16.70 227 | play: VimeoEvent;// #20 16.70 228 | [PlayerEvent.Pause]: VimeoEvent; #20 16.70 229 | pause: VimeoEvent;

I was searching for hours, until I found out, that this appears since version 2.29.4.
When freezing the version to 2.29.3 everthing seems to work properly.

Could you please check if this is a major problem?
I'd like to be able to update the player to the next versions if possible.

Thx.
Adrian

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