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

@@ -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));
});
}