mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Improve reaction types
This commit is contained in:
@@ -13,7 +13,7 @@ export class ReactionModel extends Model<ReactionAttributesType> {}
|
||||
|
||||
let singleton: Reactions | undefined;
|
||||
|
||||
export class Reactions extends Collection {
|
||||
export class Reactions extends Collection<ReactionModel> {
|
||||
static getSingleton(): Reactions {
|
||||
if (!singleton) {
|
||||
singleton = new Reactions();
|
||||
|
||||
Reference in New Issue
Block a user