mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
chore: bump discord-api-types and undici (#9140)
* chore: update discord-api-types to 0.37.35 * fix: exclude stage channels for now * chore: update undici * chore: dedupe undici
This commit is contained in:
@@ -56,11 +56,11 @@
|
||||
"@discordjs/util": "workspace:^",
|
||||
"@sapphire/snowflake": "^3.4.0",
|
||||
"@types/ws": "^8.5.4",
|
||||
"discord-api-types": "^0.37.28",
|
||||
"discord-api-types": "^0.37.35",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"lodash.snakecase": "^4.1.1",
|
||||
"tslib": "^2.4.1",
|
||||
"undici": "^5.15.0",
|
||||
"undici": "^5.19.1",
|
||||
"ws": "^8.12.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -6133,7 +6133,8 @@ export type Channel =
|
||||
|
||||
export type TextBasedChannel = Exclude<
|
||||
Extract<Channel, { type: TextChannelType }>,
|
||||
PartialGroupDMChannel | ForumChannel
|
||||
// TODO: Remove stage channel upon implementation of text-in-stage.
|
||||
PartialGroupDMChannel | ForumChannel | StageChannel
|
||||
>;
|
||||
|
||||
export type TextBasedChannelTypes = TextBasedChannel['type'];
|
||||
|
||||
Reference in New Issue
Block a user