fix(file): Changed resolveLocalFileSystemURL to FileEntryCallback instead of EntryCallback (#3231)

This commit is contained in:
Patrick Bußmann 2019-11-19 09:35:23 +01:00 committed by Daniel Sogl
parent f2961fb4bb
commit 499cc5c075

View File

@ -66,13 +66,13 @@ export interface LocalFileSystem {
/** /**
* Allows the user to look up the Entry for a file or directory referred to by a local URL. * Allows the user to look up the Entry for a file or directory referred to by a local URL.
* @param url A URL referring to a local file in a filesystem accessable via this API. * @param url A URL referring to a local file in a filesystem accessable via this API.
* @param successCallback A callback that is called to report the Entry to which the supplied URL refers. * @param successCallback A callback that is called to report the FileEntry to which the supplied URL refers.
* @param errorCallback A callback that is called when errors happen, or when the request to obtain the Entry is * @param errorCallback A callback that is called when errors happen, or when the request to obtain the Entry is
* denied. * denied.
*/ */
resolveLocalFileSystemURL( resolveLocalFileSystemURL(
url: string, url: string,
successCallback: EntryCallback, successCallback: FileEntryCallback,
errorCallback?: ErrorCallback errorCallback?: ErrorCallback
): void; ): void;