From 62bcd313e3ea55e3bb15bdcde8470a1dd474f9dc Mon Sep 17 00:00:00 2001 From: Alex Muramoto Date: Fri, 19 Aug 2016 04:06:17 -0700 Subject: [PATCH] docs(file): adds Entry to types returned in File.moveDir promise (#456) --- src/plugins/file.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/file.ts b/src/plugins/file.ts index 3bea03c61..051ca2ba9 100644 --- a/src/plugins/file.ts +++ b/src/plugins/file.ts @@ -470,10 +470,10 @@ export class File { * @param {string} dirName The source directory name * @param {string} newPath The destionation path to the directory * @param {string} newDirName The destination directory name - * @return {Promise} Returns a Promise that resolves to the new DirectoryEntry object or rejects with an error. + * @return {Promise} Returns a Promise that resolves to the new DirectoryEntry object or rejects with an error. */ - static moveDir(path: string, dirName: string, newPath: string, newDirName: string): Promise { + static moveDir(path: string, dirName: string, newPath: string, newDirName: string): Promise { newDirName = newDirName || dirName; if ((/^\//.test(newDirName))) {