Skip to content

Conversation

@zhuhaichao518
Copy link
Contributor

The latest beta channel does not support without type annotations like

        (event) {
          _durationCompleter?.completeError(_audioElement.error!);
        }.toJS);

It raises error with

Error: Function converted via 'toJS' contains invalid types in its function signature: 'Null Function(*dynamic*)'.
        }.toJS);

Added event type for them.

same issue: ryanheise/just_audio#1326

Copy link
Member

@cloudwebrtc cloudwebrtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@cloudwebrtc cloudwebrtc merged commit 417d866 into flutter-webrtc:main Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants