From 156328c9de2dd3f1377b95909f202cba34e7ff5e Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Thu, 24 Nov 2016 05:19:12 -0500 Subject: [PATCH] refractor(): change return type of writeFile --- src/plugins/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/file.ts b/src/plugins/file.ts index 4513ba2b0..d3b528b17 100644 --- a/src/plugins/file.ts +++ b/src/plugins/file.ts @@ -671,7 +671,7 @@ export class File { * @returns {Promise} Returns a Promise that resolves to updated file entry or rejects with an error. */ static writeFile(path: string, fileName: string, - text: string | Blob, options: WriteOptions = {}): Promise { + text: string | Blob, options: WriteOptions = {}): Promise { if ((/^\//.test(fileName))) { const err = new FileError(5); err.message = 'file-name cannot start with \/';