diff --git a/src/webpack/common/types/stores.d.ts b/src/webpack/common/types/stores.d.ts index 146386d2e..47816a380 100644 --- a/src/webpack/common/types/stores.d.ts +++ b/src/webpack/common/types/stores.d.ts @@ -184,22 +184,22 @@ export class GuildStore extends FluxStore { getAllGuildRoles(): Record>; } -export type MessageStore = t.FluxStore & Omit & { +export type MessageStore = FluxStore & Omit & { getMessages(channelId: string): any; }; -export type UserStore = t.FluxStore & Stores.UserStore; -export type SelectedChannelStore = t.FluxStore & Stores.SelectedChannelStore; -export type ChannelStore = t.FluxStore & Stores.ChannelStore; -export type GuildMemberStore = t.FluxStore & Stores.GuildMemberStore; +export type UserStore = FluxStore & Stores.UserStore; +export type SelectedChannelStore = FluxStore & Stores.SelectedChannelStore; +export type ChannelStore = FluxStore & Stores.ChannelStore; +export type GuildMemberStore = FluxStore & Stores.GuildMemberStore; -type RelationshipStore = t.FluxStore & Stores.RelationshipStore & { +export type RelationshipStore = FluxStore & Stores.RelationshipStore & { /** Get the date (as a string) that the relationship was created */ getSince(userId: string): string; }; export type useStateFromStores = ( - stores: t.FluxStore[], + stores: FluxStore[], mapper: () => T, dependencies?: any[] | null, isEqual?: (old: T, newer: T) => boolean