From 6b5f4fe6d9247ae153873c5abf5285f94cd2dd01 Mon Sep 17 00:00:00 2001 From: Michael Mathews Date: Mon, 18 Jul 2022 13:45:21 -0700 Subject: [PATCH] Declaring excludeFromBackupKey in index.d.ts so it is accessible in typescript. --- index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.d.ts b/index.d.ts index e9954762a..8f630fcb4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -548,6 +548,12 @@ export interface IOSApi { * @param {string} scheme URI scheme that needs to support, optional */ presentPreview(path: string, scheme?: string): void; + + /** + * Marks the file to be excluded from icloud/itunes backup. Works recursively if path is to a directory + * @param {string} path Path to a file or directory to mark to be excluded. + */ + excludeFromBackupKey(path: string): Promise; } export interface AndroidDownloadOption {