discordjs / voice

Implementation of the Discord Voice API for discord.js and other JS/TS libraries
Apache License 2.0
327 stars 110 forks source link

fix(AudioResource): improve accuracy of function signatures #113

Closed amishshah closed 3 years ago

amishshah commented 3 years ago

Please describe the changes this PR makes and why it should be merged:

createAudioResource currently has an invalid return type, this PR fixes it.

Status and versioning classification:

codecov[bot] commented 3 years ago

Codecov Report

Merging #113 (3f46543) into main (5643a08) will not change coverage. The diff coverage is 50.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage   63.55%   63.55%           
=======================================
  Files          18       18           
  Lines         815      815           
  Branches      195      195           
=======================================
  Hits          518      518           
  Misses        295      295           
  Partials        2        2           
Impacted Files Coverage Δ
src/audio/AudioResource.ts 95.55% <50.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5643a08...3f46543. Read the comment docs.