diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-09-18 11:15:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 11:15:25 +0200 |
commit | d4101a48b3eee8b1fb177831aa02a4b4fbec2588 (patch) | |
tree | c92f2fbe91197fde8589207463d0d6526b4ff76b /src/electron/macOSPermissions.ts | |
parent | 5.6.3-nightly.6 [skip ci] (diff) | |
download | ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.gz ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.zst ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.zip |
chore: convert various files from JS to TS (#1959)
Diffstat (limited to 'src/electron/macOSPermissions.ts')
-rw-r--r-- | src/electron/macOSPermissions.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electron/macOSPermissions.ts b/src/electron/macOSPermissions.ts index f5a8c7cc4..aef3ac30b 100644 --- a/src/electron/macOSPermissions.ts +++ b/src/electron/macOSPermissions.ts | |||
@@ -15,7 +15,7 @@ debug( | |||
15 | 15 | ||
16 | const filePath = userDataPath('.has-app-requested-screen-capture-permissions'); | 16 | const filePath = userDataPath('.has-app-requested-screen-capture-permissions'); |
17 | 17 | ||
18 | function hasPromptedForScreenCapturePermission(): boolean { | 18 | function hasPromptedForScreenCapturePermission(): string | boolean { |
19 | if (!isExplicitScreenCapturePermissionReqd) { | 19 | if (!isExplicitScreenCapturePermissionReqd) { |
20 | return false; | 20 | return false; |
21 | } | 21 | } |