Skip to content

PresenceChannel interface missing 'Whisper' method #371

Closed
@DellanX

Description

@DellanX
  • Echo Version: 1.15.0
  • Laravel Version: 9.19.0
  • PHP Version: 8.17
  • NPM Version: 8.12.2
  • Node Version: 16.15.1

Description:

The 'Whisper' method is not included in the type for PresenceChannel. Upon looking into the interface for PresenceChannel in laravel-echo, I can see that indeed, there isn't an interface method there.

Steps To Reproduce:

In TypeScript, create an Echo instance 'Echo'
typeup:
Echo.join('room').whisper('test, () => {}).

You'll see an error as 'whisper' is not included in type 'PresenceChannel'

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