[noImplicitAny: true] src/services/note
This commit is contained in:
parent
8c40917cc2
commit
9d65415fdc
2 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ export default async (user: IUser, note: INote, reaction: string) => new Promise
|
|||
|
||||
res();
|
||||
|
||||
const inc = {};
|
||||
const inc: {[key: string]: number} = {};
|
||||
inc[`reactionCounts.${reaction}`] = 1;
|
||||
|
||||
// Increment reactions count
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue