diff --git a/web/src/types.ts b/web/src/types.ts index bc1bb2a706..fee9048a39 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; - 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 fb450769d9..5d6372c59b 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;