mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
docs: export all visible symbols (#10760)
* docs: export all visible symbols * fix: discord.js except raw * refactor: remove raw data types * docs: add back discord.js tsdoc file * refactor: remove underscores * fix: merge * docs(RPCRedis): make `promises` as internal --------- Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -304,14 +304,14 @@ export class AudioPlayer extends EventEmitter {
|
||||
|
||||
/**
|
||||
* The state that the player is in.
|
||||
*
|
||||
* @remarks
|
||||
* The setter will perform clean-up operations where necessary.
|
||||
*/
|
||||
public get state() {
|
||||
return this._state;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a new state for the player, performing clean-up operations where necessary.
|
||||
*/
|
||||
public set state(newState: AudioPlayerState) {
|
||||
const oldState = this._state;
|
||||
const newResource = Reflect.get(newState, 'resource') as AudioResource | undefined;
|
||||
|
||||
@@ -17,4 +17,4 @@ export { AudioResource, type CreateAudioResourceOptions, createAudioResource } f
|
||||
|
||||
export { PlayerSubscription } from './PlayerSubscription';
|
||||
|
||||
export { StreamType } from './TransformerGraph';
|
||||
export { StreamType, type Edge, TransformerType, Node } from './TransformerGraph';
|
||||
|
||||
Reference in New Issue
Block a user