From d4340966b7e9262da886a97ce8e959522e55c576 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Thu, 4 Jun 2020 00:54:01 +0900 Subject: [PATCH] Add type of context.payload.comment (#375) --- packages/github/src/interfaces.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/github/src/interfaces.ts b/packages/github/src/interfaces.ts index c20aadd8..8ab08bfe 100644 --- a/packages/github/src/interfaces.ts +++ b/packages/github/src/interfaces.ts @@ -36,4 +36,8 @@ export interface WebhookPayload { id: number [key: string]: any } + comment?: { + id: number + [key: string]: any + } }