1
0
* 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
+1 -1
View File
@@ -429,7 +429,7 @@ export default async function(
const properties: {[key: string]: any} = {};
let propPromises: Array<Promise<void>> = [];
let propPromises: Promise<void>[] = [];
const isImage = ['image/jpeg', 'image/gif', 'image/png', 'image/webp'].includes(mime);
+2 -2
View File
@@ -38,10 +38,10 @@ type NotificationType = 'reply' | 'renote' | 'quote' | 'mention';
class NotificationManager {
private notifier: IUser;
private note: INote;
private queue: Array<{
private queue: {
target: ILocalUser['_id'];
reason: NotificationType;
}>;
}[];
constructor(notifier: IUser, note: INote) {
this.notifier = notifier;