Skip to content

Commit

Permalink
change back from ts-expect-error to ts-ignore in macOSPermissions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmxcdev committed Jul 24, 2023
1 parent 87dd4bc commit d014612
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/electron/macOSPermissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit d014612

Please sign in to comment.