Skip to content

Commit 1354d2f

Browse files
committed
test: fix typing
1 parent 5c376a5 commit 1354d2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export type TranslateResponse = {
8181

8282
export type AppSettingsAPIResponse = APIResponse & {
8383
app?: {
84-
id?: string;
84+
id?: string | number;
8585
// TODO
8686
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8787
call_types: any;
@@ -894,6 +894,7 @@ export type UsersAPIResponse = APIResponse & {
894894

895895
export type UpdateUsersAPIResponse = APIResponse & {
896896
users: { [key: string]: UserResponse };
897+
membership_deletion_task_id?: string;
897898
};
898899

899900
export type UserResponse = CustomUserData & {

test/typescript/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ declare module '../..' {
553553
total_unread_count?: number;
554554
unread_channels?: number;
555555
unread_threads?: number;
556+
nickname?: string;
556557
}
557558
interface CustomChannelData {
558559
description?: string;

0 commit comments

Comments
 (0)