Skip to content
Snippets Groups Projects
Commit fbc9d5ec authored by syuilo's avatar syuilo
Browse files

refactor

parent d381d31e
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ export class DriveFileRepository extends Repository<DriveFile> {
}
public async packMany(
files: any[],
files: (DriveFile['id'] | DriveFile)[],
options?: PackOptions
) {
const items = await Promise.all(files.map(f => this.pack(f, options)));
......
......@@ -53,7 +53,7 @@ export class NotificationRepository extends Repository<Notification> {
}
public packMany(
notifications: any[],
notifications: Notification[],
) {
return Promise.all(notifications.map(x => this.pack(x)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment