chore: make 'Note to developers' on version constant a regular comment (#8730)

chore: make 'Note to developers' a regular comment

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2022-10-10 15:42:03 +01:00
committed by GitHub
parent caba122d20
commit 02ffce8173
5 changed files with 6 additions and 11 deletions

View File

@@ -13,10 +13,9 @@ export * from './ws/WebSocketManager.js';
export * from './ws/WebSocketShard.js';
/**
* The [\@discordjs/voice](https://github.com/discordjs/discord.js/blob/main/packages/voice/#readme) version
* The [\@discordjs/ws](https://github.com/discordjs/discord.js/blob/main/packages/ws/#readme) version
* that you are currently using.
*
* Note to developers: This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
*/
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
export const version: string = '[VI]{{inject}}[/VI]';