Improve reaction types

This commit is contained in:
Evan Hahn 2021-10-13 11:29:15 -05:00 committed by GitHub
parent 35a54cdc02
commit 21c00f51bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -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();