docs(file): update jsdoc (#2757)

* Update index.ts: Fix JSDoc

* Update index.ts

* Update index.ts
This commit is contained in:
Philip 2018-11-02 17:17:38 +01:00 committed by Daniel Sogl
parent dc4183da07
commit accfba8a40

View File

@ -1037,7 +1037,7 @@ export class File extends IonicNativePlugin {
* @param {string} path Base FileSystem. Please refer to the iOS and Android filesystem above
* @param {string} fileName path relative to base path
* @param {string | Blob | ArrayBuffer} text content, blob or ArrayBuffer to write
* @param {IWriteOptions} options replace file if set to true. See WriteOptions for more information.
* @param {IWriteOptions} whether to replace/append to an existing file. See IWriteOptions for more information.
* @returns {Promise<any>} Returns a Promise that resolves to updated file entry or rejects with an error.
*/
@CordovaCheck()