summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-17 19:38:46 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-02-17 19:38:46 +0900
commit683b24221577d3b85f4a5f1eb5f10f84bee57cf5 (patch)
tree20e103e6e89ac4c05add884925f15a1a27827b3c /src/models
parentExploreページに新規ユーザー一覧を追加 (#4295) (diff)
downloadsharkey-683b24221577d3b85f4a5f1eb5f10f84bee57cf5.tar.gz
sharkey-683b24221577d3b85f4a5f1eb5f10f84bee57cf5.tar.bz2
sharkey-683b24221577d3b85f4a5f1eb5f10f84bee57cf5.zip
Use Record<string, number> instead of any (#4293)
Diffstat (limited to 'src/models')
-rw-r--r--src/models/note.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/note.ts b/src/models/note.ts
index 352de4f8d6..9bdf22e977 100644
--- a/src/models/note.ts
+++ b/src/models/note.ts
@@ -49,7 +49,7 @@ export type INote = {
localOnly: boolean;
renoteCount: number;
repliesCount: number;
- reactionCounts: any;
+ reactionCounts: Record<string, number>;
mentions: mongo.ObjectID[];
mentionedRemoteUsers: {
uri: string;