mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
add type
This commit is contained in:
parent
26b4dc13c2
commit
df03b33e36
@ -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
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user