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

Property 'end' does not exist on type 'VoiceBroadcast'. #4014

Closed
kuskoman opened this issue Apr 2, 2020 · 3 comments
Closed

Property 'end' does not exist on type 'VoiceBroadcast'. #4014

kuskoman opened this issue Apr 2, 2020 · 3 comments
Assignees

Comments

@kuskoman
Copy link

kuskoman commented Apr 2, 2020

Please describe the problem you are having in as much detail as possible:

broadcast does not have end method declared in types, but it is existing in documentation

Include a reproducible code sample here, if possible:

const broadcast = client.voice.createBroadcast();
broadcast.end(); // Property 'end' does not exist on type 'VoiceBroadcast'. ts(2339)

Further details:
End method is declared in documentation:
https://discord.js.org/#/docs/main/stable/class/VoiceBroadcast?scrollTo=end

  • discord.js version: 12.1.1
  • Node.js version: 12.6.0
  • Operating system: windows
  • TypeScript version: 3.8.3
  • Priority this issue should have – please be realistic and elaborate if possible: mid-important for typescript users
@uhKevinMC
Copy link
Contributor

Where is this file located? Is this in a typescript file or a javascript file? Is this issue replicable on any other bots/folders?

@monbrey
Copy link
Member

monbrey commented Apr 3, 2020

Thanks for raising this, PR will be incoming to fix this shortly.

@amishshah
Copy link
Member

Fixed in 0e44ecd

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants