From 24b440b4fd779e7cbcef6cf217de46afcbe81912 Mon Sep 17 00:00:00 2001 From: grandin-j <19411995+grandin-j@users.noreply.github.com> Date: Wed, 14 Nov 2018 19:20:49 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20typo=20in=20chooseEntry(=E2=80=A6)=20for?= =?UTF-8?q?=20multiple=20files=20(#30509)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This simply aligns the type of the callback with the options when calling chooseEntry for selecting multiple files. --- types/chrome-apps/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chrome-apps/index.d.ts b/types/chrome-apps/index.d.ts index 567b73f2bb..8873e80da2 100644 --- a/types/chrome-apps/index.d.ts +++ b/types/chrome-apps/index.d.ts @@ -3369,7 +3369,7 @@ declare namespace chrome { function chooseEntry(options: ChooseEntryOptionsBase, callback: FileEntryCallback): void; function chooseEntry(options: ChooseFileEntryOptions, callback: FileEntryCallback): void; function chooseEntry(options: ChooseSaveFileEntryOptions, callback: FileEntryCallback): void; - function chooseEntry(options: ChooseMultipleFilesEntryOptions, callback: FileEntryCallback): void; + function chooseEntry(options: ChooseMultipleFilesEntryOptions, callback: FileEntryCallback): void; function chooseEntry(options: ChooseDirectoryEntryOptions, callback: FileEntryCallback): void; /** Returns the file entry with the given id if it can be restored. This call will fail with a runtime error otherwise. */ function restoreEntry(id: string, callback: (entry: FileEntry) => void): void;