From 8acb8a3f7bfef5469cae1c249beb9c44259e1d3d Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Mon, 11 Jan 2016 13:53:15 +0000 Subject: [PATCH] Fix return type of Entry.{moveTo,copyTo} in filesystem.d.ts --- filesystem/filesystem.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesystem/filesystem.d.ts b/filesystem/filesystem.d.ts index 1b76846b4d..d99105f0bc 100644 --- a/filesystem/filesystem.d.ts +++ b/filesystem/filesystem.d.ts @@ -161,7 +161,7 @@ interface Entry { * A move of a file on top of an existing file must attempt to delete and replace that file. * A move of a directory on top of an existing empty directory must attempt to delete and replace that directory. */ - moveTo(parent:DirectoryEntry, newName?:string, successCallback?:EntryCallback, errorCallback?:ErrorCallback):string; + moveTo(parent:DirectoryEntry, newName?:string, successCallback?:EntryCallback, errorCallback?:ErrorCallback):void; /** * Copy an entry to a different location on the file system. It is an error to try to: @@ -178,7 +178,7 @@ interface Entry { * * Directory copies are always recursive--that is, they copy all contents of the directory. */ - copyTo(parent:DirectoryEntry, newName?:string, successCallback?:EntryCallback, errorCallback?:ErrorCallback):string; + copyTo(parent:DirectoryEntry, newName?:string, successCallback?:EntryCallback, errorCallback?:ErrorCallback):void; /** * Returns a URL that can be used to identify this entry. Unlike the URN defined in [FILE-API-ED], it has no specific expiration; as it describes a location on disk, it should be valid at least as long as that location exists.