Fix typo in chooseEntry(…) for multiple files (#30509)

This simply aligns the type of the callback with the options when calling chooseEntry for selecting multiple files.
This commit is contained in:
grandin-j
2018-11-14 19:20:49 -08:00
committed by Pranav Senthilnathan
parent 1a82900084
commit 24b440b4fd
+1 -1
View File
@@ -3369,7 +3369,7 @@ declare namespace chrome {
function chooseEntry(options: ChooseEntryOptionsBase, callback: FileEntryCallback<ChooseEntryOptionsBase>): void;
function chooseEntry(options: ChooseFileEntryOptions, callback: FileEntryCallback<ChooseFileEntryOptions>): void;
function chooseEntry(options: ChooseSaveFileEntryOptions, callback: FileEntryCallback<ChooseSaveFileEntryOptions>): void;
function chooseEntry(options: ChooseMultipleFilesEntryOptions, callback: FileEntryCallback<ChooseFileEntryOptions>): void;
function chooseEntry(options: ChooseMultipleFilesEntryOptions, callback: FileEntryCallback<ChooseMultipleFilesEntryOptions>): void;
function chooseEntry(options: ChooseDirectoryEntryOptions, callback: FileEntryCallback<ChooseDirectoryEntryOptions>): 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;