GatewayDispatchPayload doesn't include GatewayGuildAuditLogEntryCreateDispatch
IRONM00N opened this issue · comments
IRONM00N commented
Issue description
- Go to
GatewayDispatchPayload
- Observe it does not include
GatewayGuildAuditLogEntryCreateDispatch
introduced in #692
Code sample
import { GatewayDispatchEvents, GatewayDispatchPayload } from 'discord-api-types/v10';
type Payload = {
[K in GatewayDispatchPayload['t']]: any;
};
type Events = {
[K in GatewayDispatchEvents]: any;
};
type Check = Payload[keyof Events];
// ^ Property 'GUILD_AUDIT_LOG_ENTRY_CREATE' does not exist on type 'Payload'
Package version
0.37.32
Runtime
Node.js
Runtime version
v19.6.0
Priority this issue should have
Medium (should be fixed soon)
Vlad Frangu commented
Aaa. Feel free to PR and we'll expedite a release for it