chore: unpin discord-api-types (#10524)

* chore: unpin discord-api-types

* chore: bump discord-api-types
This commit is contained in:
Qjuh
2024-10-01 12:07:58 +02:00
committed by GitHub
parent 9aa3b635ef
commit b20346f430
11 changed files with 123 additions and 118 deletions

View File

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

View File

@@ -196,7 +196,6 @@ export class Client extends AsyncEventEmitter<MappedEvents> {
this.api = new API(rest);
this.gateway.on(WebSocketShardEvents.Dispatch, (dispatch, shardId) => {
// @ts-expect-error event props can't be resolved properly, but they are correct
this.emit(dispatch.t, this.toEventProps(dispatch.d, shardId));
});
}