Skip to content

The swiss army knife of lossless video/audio editing

add type

Mikael Finstaddf03b33e36b4
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: <T extends string>(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
);