diff options
author | 2021-10-31 04:38:05 +0530 | |
---|---|---|
committer | 2021-10-31 04:38:17 +0530 | |
commit | 804847ec4c253b61109fc4e729500ecb1f8ba22b (patch) | |
tree | 2ef4fa945bd86ed3fe8d77576e0b321dfc300cfa | |
parent | New translations en-US.json (#2166) [skip ci] (diff) | |
download | ferdium-app-804847ec4c253b61109fc4e729500ecb1f8ba22b.tar.gz ferdium-app-804847ec4c253b61109fc4e729500ecb1f8ba22b.tar.zst ferdium-app-804847ec4c253b61109fc4e729500ecb1f8ba22b.zip |
chore: ignore missing type defns for optional dependencies
-rw-r--r-- | src/electron/ipc-api/cld.ts | 1 | ||||
-rw-r--r-- | src/electron/macOSPermissions.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/electron/ipc-api/cld.ts b/src/electron/ipc-api/cld.ts index 5e958b102..b80c48bf3 100644 --- a/src/electron/ipc-api/cld.ts +++ b/src/electron/ipc-api/cld.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { ipcMain } from 'electron'; | 1 | import { ipcMain } from 'electron'; |
2 | // @ts-ignore | ||
2 | import cld from 'cld'; | 3 | import cld from 'cld'; |
3 | 4 | ||
4 | const debug = require('debug')('Ferdi:ipcApi:cld'); | 5 | const debug = require('debug')('Ferdi:ipcApi:cld'); |
diff --git a/src/electron/macOSPermissions.ts b/src/electron/macOSPermissions.ts index bcd5b5931..0e183eeb7 100644 --- a/src/electron/macOSPermissions.ts +++ b/src/electron/macOSPermissions.ts | |||
@@ -2,6 +2,7 @@ import { systemPreferences, BrowserWindow, dialog } from 'electron'; | |||
2 | import { pathExistsSync, mkdirSync, writeFileSync } from 'fs-extra'; | 2 | import { pathExistsSync, mkdirSync, writeFileSync } from 'fs-extra'; |
3 | import macosVersion from 'macos-version'; | 3 | import macosVersion from 'macos-version'; |
4 | import { dirname } from 'path'; | 4 | import { dirname } from 'path'; |
5 | // @ts-ignore | ||
5 | import { askForScreenCaptureAccess } from 'node-mac-permissions'; | 6 | import { askForScreenCaptureAccess } from 'node-mac-permissions'; |
6 | import { userDataPath } from '../environment-remote'; | 7 | import { userDataPath } from '../environment-remote'; |
7 | 8 | ||