From 4a8c15a0759674098d19ecbde09b1911646b9cd1 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 27 Jun 2020 18:09:23 +0800 Subject: [PATCH] Add some missing types to `SystemPreferencesPanes` Fixes #31 --- index.d.ts | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/index.d.ts b/index.d.ts index 8d493d5..4802dc2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -531,21 +531,25 @@ export interface SystemPreferencesPanes { | 'General' | 'Privacy' | 'Privacy_Accessibility' - | 'Privacy_Assistice' + | 'Privacy_Advertising' + /** + Full Disk Access. + */ + | 'Privacy_AllFiles' + | 'Privacy_Assistive' + | 'Privacy_Automation' | 'Privacy_Calendars' + | 'Privacy_Camera' | 'Privacy_Contacts' + | 'Privacy_DesktopFolder' | 'Privacy_Diagnostics' + | 'Privacy_DocumentsFolder' + | 'Privacy_DownloadsFolder' | 'Privacy_LocationServices' | 'Privacy_Microphone' + | 'Privacy_Photos' | 'Privacy_Reminders' - | 'Privacy_ScreenCapture' - | 'Privacy_DesktopFolder' - | 'Privacy_DocumentsFolder' - | 'Privacy_DownloadsFolder' - /** - Full Disk Access - */ - | 'Privacy_AllFiles'; + | 'Privacy_ScreenCapture'; speech: | 'Dictation' | 'TTS'; @@ -553,7 +557,7 @@ export interface SystemPreferencesPanes { | 'Internet' | 'Services_ARDService' | 'Services_BluetoothSharing' - | 'Services_PersonalFileSHaring' + | 'Services_PersonalFileSharing' | 'Services_PrinterSharing' | 'Services_RemoteAppleEvent' | 'Services_RemoteLogin'