build: bump discord-api-types to 0.37.113

This commit is contained in:
Jiralite
2024-12-22 21:39:23 +00:00
committed by Vlad Frangu
parent 5b8a08ebb6
commit 437b2d459d
10 changed files with 571 additions and 2637 deletions

View File

@@ -70,7 +70,7 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.3",
"@vladfrangu/async_event_emitter": "^2.2.4",
"discord-api-types": "0.37.90"
"discord-api-types": "^0.37.113"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",

View File

@@ -201,8 +201,8 @@ export class Client extends AsyncEventEmitter<MappedEvents> {
this.gateway.on(WebSocketShardEvents.Dispatch, ({ data: dispatch, shardId }) => {
this.emit(
// @ts-expect-error ws/1.1.
dispatch.t,
// @ts-expect-error event props can't be resolved properly, but they are correct
this.wrapIntrinsicProps(dispatch.d, shardId),
);
});