From a77e1f367ae41b69561163a1c5e08841fc00be42 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 29 Aug 2021 18:24:31 +0700 Subject: response: make the message field to be required --- response.d.ts | 2 +- response.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/response.d.ts b/response.d.ts index 2e503a7..532028d 100644 --- a/response.d.ts +++ b/response.d.ts @@ -1,5 +1,5 @@ export interface WuiResponseInterface { code: number; - message?: string; + message: string; data?: any; } diff --git a/response.ts b/response.ts index e4122c6..c1550a8 100644 --- a/response.ts +++ b/response.ts @@ -10,6 +10,6 @@ // export interface WuiResponseInterface { code: number - message?: string + message: string data?: any } -- cgit v1.3