Skip to content

Commit 3e3d618

Browse files
committed
fix: typedefs for askForInputMonitoringAccess
1 parent eca0294 commit 3e3d618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function askForCameraAccess(): Promise<PermissionType>
77
export function askForContactsAccess(): Promise<Omit<PermissionType, 'restricted'>>
88
export function askForFoldersAccess(): Promise<Omit<PermissionType, 'restricted'>>
99
export function askForFullDiskAccess(): undefined
10-
export function askForInputMonitoringAccess(): Promise<Omit<PermissionType, 'restricted'>>
10+
export function askForInputMonitoringAccess(accessType?: 'listen' | 'post'): Promise<Omit<PermissionType, 'restricted'>>
1111
export function askForMicrophoneAccess(): Promise<PermissionType>
1212
export function askForPhotosAccess(accessType?: 'add-only' | 'read-write'): Promise<PermissionType>
1313
export function askForRemindersAccess(): Promise<Omit<PermissionType, 'restricted'>>

0 commit comments

Comments
 (0)