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:
Jiralite
2023-02-17 19:17:08 +00:00
committed by GitHub
parent 0e4224be36
commit d44a6f035c
12 changed files with 36 additions and 35 deletions

View File

@@ -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": {

View File

@@ -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'];