Skip to content

Commit 02ffce8

Browse files
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>
1 parent caba122 commit 02ffce8

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

packages/builders/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export * from '@discordjs/util';
4444
/**
4545
* The [\@discordjs/builders](https://github.com/discordjs/discord.js/blob/main/packages/builders/#readme) version
4646
* that you are currently using.
47-
*
48-
* Note to developers: This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
4947
*/
48+
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
5049
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
5150
export const version: string = '[VI]{{inject}}[/VI]';

packages/collection/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ export * from './collection.js';
33
/**
44
* The [\@discordjs/collection](https://github.com/discordjs/discord.js/blob/main/packages/collection/#readme) version
55
* that you are currently using.
6-
*
7-
* Note to developers: This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
86
*/
7+
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
98
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
109
export const version: string = '[VI]{{inject}}[/VI]';

packages/rest/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ export { makeURLSearchParams, parseResponse } from './lib/utils/utils.js';
1010
/**
1111
* The [\@discordjs/rest](https://github.com/discordjs/discord.js/blob/main/packages/rest/#readme) version
1212
* that you are currently using.
13-
*
14-
* Note to developers: This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
1513
*/
14+
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
1615
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
1716
export const version: string = '[VI]{{inject}}[/VI]';

packages/voice/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export { type JoinConfig, getVoiceConnection, getVoiceConnections, getGroups } f
2323
/**
2424
* The [\@discordjs/voice](https://github.com/discordjs/discord.js/blob/main/packages/voice/#readme) version
2525
* that you are currently using.
26-
*
27-
* Note to developers: This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
2826
*/
27+
// This needs to explicitly be `string` so it is not typed as a "const string" that gets injected by esbuild
2928
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
3029
export const version: string = '[VI]{{inject}}[/VI]';

packages/ws/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ export * from './ws/WebSocketManager.js';
1313
export * from './ws/WebSocketShard.js';
1414

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

0 commit comments

Comments
 (0)