diff --git a/src/core/Image.ts b/src/core/Image.ts index 79af86b4..3e1608f2 100644 --- a/src/core/Image.ts +++ b/src/core/Image.ts @@ -14,7 +14,7 @@ export default class Image { return new Image({ ...data, artifacts }) } - static async findByFile(file) { + static async findByFile(file: string) { const data = await findOne(store(), { file }) if (!data) return null