mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 12:00:24 +00:00
fix: augment require to fix eslint warnings on require('electron')
Fixes #8
This commit is contained in:
parent
a97c023338
commit
e99d127bc6
1 changed files with 6 additions and 0 deletions
6
e2e/types/require-electron.d.ts
vendored
Normal file
6
e2e/types/require-electron.d.ts
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace NodeJS {
|
||||
interface Require {
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-function-type
|
||||
(module: 'electron'): typeof import('electron')
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue