Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

Remove User type from types.ts.

evykassirerfdb6f212d049
diff --git a/web/src/types.ts b/web/src/types.ts
index bc1bb2a7065..fee9048a397 100644
--- a/web/src/types.ts
+++ b/web/src/types.ts
@@ -53,10 +53,6 @@ export type UpdateMessageEvent = {
topic?: string;
};
-// TODO/typescript: Move the User and Stream placeholder
-// types to their appropriate modules.
-export type User = Record<string, never>;
-
export type GroupPermissionSetting = {
require_system_group: boolean;
allow_internet_group: boolean;
diff --git a/web/src/user_groups.ts b/web/src/user_groups.ts
index fb450769d98..5d6372c59bc 100644
--- a/web/src/user_groups.ts
+++ b/web/src/user_groups.ts
@@ -2,8 +2,9 @@ import * as blueslip from "./blueslip";
import {FoldDict} from "./fold_dict";
import * as group_permission_settings from "./group_permission_settings";
import {page_params} from "./page_params";
+import type {User} from "./people";
import * as settings_config from "./settings_config";
-import type {User, UserGroupUpdateEvent} from "./types";
+import type {UserGroupUpdateEvent} from "./types";
export type UserGroup = {
description: string;