* Resolve #4121

* Update tslint.json
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-02-04 18:27:45 +09:00 committed by Aya Morisawa
parent 3a035c481e
commit 68ee9a008e
10 changed files with 20 additions and 20 deletions

View file

@ -29,22 +29,22 @@ export default define(meta, (ps) => new Promise(async (res, rej) => {
$group: {
_id: { tag: '$tagsLower', userId: '$userId' }
}
}]) as Array<{
}]) as {
_id: {
tag: string;
userId: any;
}
}>;
}[];
//#endregion
if (data.length == 0) {
return res([]);
}
let tags: Array<{
let tags: {
name: string;
count: number;
}> = [];
}[] = [];
// カウント
for (const x of data.map(x => x._id).filter(x => !hidedTags.includes(x.tag))) {