From 098261073163eeb4fcfc217dea3511ccea1f27c5 Mon Sep 17 00:00:00 2001 From: didinele Date: Sun, 18 Oct 2020 14:14:08 +0300 Subject: [PATCH] fix(GatewayHeartbeat): d is nullable (#26) --- package-lock.json | 2 +- v8/gateway/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a8a6765f..03c22a7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "discord-api-types", - "version": "0.5.0", + "version": "0.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/v8/gateway/index.ts b/v8/gateway/index.ts index b29bce68..87fea71f 100644 --- a/v8/gateway/index.ts +++ b/v8/gateway/index.ts @@ -581,7 +581,7 @@ export type GatewayWebhooksUpdateDispatch = DataPayload< */ export interface GatewayHeartbeat { op: GatewayOPCodes.Heartbeat; - d: number; + d: number | null; } /**