From fea3f53681971cb24360bdfc296b2ee6bc4b7760 Mon Sep 17 00:00:00 2001 From: Xymorot Date: Sun, 24 Jan 2021 20:12:10 +0100 Subject: [PATCH] reformat: use correct type (fix eslint warning) --- src/main/modules/nhentai/nhentai-ipc-controller.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/modules/nhentai/nhentai-ipc-controller.ts b/src/main/modules/nhentai/nhentai-ipc-controller.ts index ad206d6..0335bb6 100644 --- a/src/main/modules/nhentai/nhentai-ipc-controller.ts +++ b/src/main/modules/nhentai/nhentai-ipc-controller.ts @@ -1,7 +1,6 @@ import path from 'path'; import { createWriteStream } from 'fs-extra'; import { container } from '../../core/container'; -import type { Work } from '../../entities/library/work'; import type { DialogInterface } from '../dialog/dialog-interface'; import { answer } from '../ipc/annotations/answer'; import type { SourceGetterInterface } from '../source/source-getter-interface'; @@ -50,7 +49,7 @@ export class NhentaiIpcController implements IpcController { } @answer(IpcChannel.NHENTAI_GET_WORK) - public async nhentaiGetWork({ galleryId }: { galleryId: string }): Promise { + public async nhentaiGetWork({ galleryId }: { galleryId: string }): Promise { const work = await this.nhentaiSourceGetter.find(galleryId); return work;