From d014612112a21964a8617cd382e730e59d38cd9a Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sun, 23 Jul 2023 20:40:22 -0600 Subject: [PATCH] change back from ts-expect-error to ts-ignore in macOSPermissions.ts --- src/electron/macOSPermissions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/electron/macOSPermissions.ts b/src/electron/macOSPermissions.ts index 6c23937cbb..88706dd23c 100644 --- a/src/electron/macOSPermissions.ts +++ b/src/electron/macOSPermissions.ts @@ -2,7 +2,8 @@ import { systemPreferences, BrowserWindow, dialog } from 'electron'; import { pathExistsSync, mkdirSync, writeFileSync } from 'fs-extra'; import macosVersion from 'macos-version'; import { dirname } from 'path'; -// @ts-expect-error node-mac-permissions is an optional dependency and probably flagged therefore +// eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error +// @ts-ignore import { askForScreenCaptureAccess } from 'node-mac-permissions'; import { userDataPath } from '../environment-remote';