mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
build: multi-config build and dep update
This commit is contained in:
@@ -93,10 +93,10 @@ export class DiscordAPIError extends Error {
|
||||
const nextKey = otherKey.startsWith('_')
|
||||
? key
|
||||
: key
|
||||
? Number.isNaN(Number(otherKey))
|
||||
? `${key}.${otherKey}`
|
||||
: `${key}[${otherKey}]`
|
||||
: otherKey;
|
||||
? Number.isNaN(Number(otherKey))
|
||||
? `${key}.${otherKey}`
|
||||
: `${key}[${otherKey}]`
|
||||
: otherKey;
|
||||
|
||||
if (typeof val === 'string') {
|
||||
yield val;
|
||||
|
||||
@@ -8,7 +8,7 @@ export * from './lib/utils/types.js';
|
||||
export { calculateUserDefaultAvatarIndex, makeURLSearchParams, parseResponse } from './lib/utils/utils.js';
|
||||
|
||||
/**
|
||||
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/rest/#readme | @discordjs/rest} version
|
||||
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/rest#readme | @discordjs/rest} 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
|
||||
|
||||
Reference in New Issue
Block a user