diff options
| author | Shulhan <ms@kilabit.info> | 2021-08-29 18:24:31 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-08-29 18:24:31 +0700 |
| commit | a77e1f367ae41b69561163a1c5e08841fc00be42 (patch) | |
| tree | 589eec439701e6f5c25905d0edaa8952efcc859c | |
| parent | 7f431bc3680a9f4b6ee82c16dadd5323c415c2b7 (diff) | |
| download | pakakeh.ts-a77e1f367ae41b69561163a1c5e08841fc00be42.tar.xz | |
response: make the message field to be required
| -rw-r--r-- | response.d.ts | 2 | ||||
| -rw-r--r-- | 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 } |
