diff --git a/src/renderer/src/index.tsx b/src/renderer/src/index.tsx index 6645e692..1f770c67 100644 --- a/src/renderer/src/index.tsx +++ b/src/renderer/src/index.tsx @@ -42,6 +42,8 @@ declare global { require: (module: T) => ( T extends '@electron/remote' ? TypedRemote : T extends 'electron' ? typeof Electron : + T extends 'file-url' ? typeof import('file-url') : + // todo more // eslint-disable-next-line @typescript-eslint/no-explicit-any any );