Files
discord.js/packages/voice/src/index.ts
Synbulat Biishev 8b70f497a1 docs: fix version export (#9049)
* docs: fix version export

* types: assert `[VI]{{inject}}[/VI]` as string

* types: typo

* Revert "types: typo"

This reverts commit ba983f02be.

* types: typo

I hate my local repo. It can't install deps with `--immutable` and a have weird error on `yarn test`, but the CI passes
2023-01-19 15:56:57 +00:00

29 lines
1018 B
TypeScript

export * from './joinVoiceChannel';
export * from './audio/index';
export * from './util/index';
export * from './receive/index';
export {
VoiceConnection,
type VoiceConnectionState,
VoiceConnectionStatus,
type VoiceConnectionConnectingState,
type VoiceConnectionDestroyedState,
type VoiceConnectionDisconnectedState,
type VoiceConnectionDisconnectedBaseState,
type VoiceConnectionDisconnectedOtherState,
type VoiceConnectionDisconnectedWebSocketState,
VoiceConnectionDisconnectReason,
type VoiceConnectionReadyState,
type VoiceConnectionSignallingState,
} from './VoiceConnection';
export { type JoinConfig, getVoiceConnection, getVoiceConnections, getGroups } from './DataStore';
/**
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/voice/#readme | @discordjs/voice} version
* that you are currently using.
*/
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
export const version = '[VI]{{inject}}[/VI]' as string;