Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Property 'call' does not exist on type 'void'. #81

Closed
moskoweb opened this issue May 19, 2023 · 1 comment
Closed

[BUG] Property 'call' does not exist on type 'void'. #81

moskoweb opened this issue May 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@moskoweb
Copy link
Contributor

Describe the bug
When installing the package locally to update, the error below appears regarding WebSocket. I corrected the error, removing the sendPromise variable, and calling ws.send, inside the sendRawMessage function, so as not to have more errors.

Error:
Captura de Tela 2023-05-19 às 15 45 31

Solution:
Captura de Tela 2023-05-19 às 15 47 22

To Reproduce
Steps to reproduce the behavior:

  1. Git clone
  2. Yarn install
@moskoweb moskoweb added the bug Something isn't working label May 19, 2023
@barkerpedro
Copy link
Contributor

try changing the line:

const sendPromise = promisify<void>(ws.send)

to:

const sendPromise = promisify<ArrayBufferLike>(ws.send)

@Auties00 Auties00 closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants