Skip to content

Commit

Permalink
Add type to ConversationModel's contactCollection
Browse files Browse the repository at this point in the history
Previously, this was `Backbone.Collection<WhatIsThis>`. Now, it's
`Backbone.Collection<ConversationModel>`.

A minor change, but an easy improvement that (luckily) had no
downstream effects.
  • Loading branch information
EvanHahn-Signal committed Mar 26, 2021
1 parent 990e501 commit 83593a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/models/conversations.ts
Expand Up @@ -110,7 +110,7 @@ export class ConversationModel extends window.Backbone.Model<
{ senderId: string; timer: NodeJS.Timer }
>;

contactCollection?: Backbone.Collection<WhatIsThis>;
contactCollection?: Backbone.Collection<ConversationModel>;

debouncedUpdateLastMessage?: () => void;

Expand Down

0 comments on commit 83593a3

Please sign in to comment.