mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
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:
committed by
Pranav Senthilnathan
parent
1a82900084
commit
24b440b4fd
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user