You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/11/20 23:46:00 UTC

[jira] [Resolved] (CB-13960) Typescript: FileWriter write argument definition shall include type string

     [ https://issues.apache.org/jira/browse/CB-13960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile resolved CB-13960.
-------------------------------
    Resolution: Fixed

Fixed in 6.0.2-dev

> Typescript: FileWriter write argument definition shall include type string
> --------------------------------------------------------------------------
>
>                 Key: CB-13960
>                 URL: https://issues.apache.org/jira/browse/CB-13960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file
>            Reporter: Vladimir
>            Priority: Major
>
> www\FileWriter.js has the following annotation on write method:
> {code:java}
> @param data text or blob to be writte{code}
> But types\index.d.ts has the following type definition:
> {code:java}
>     /**
>      * Write the supplied data to the file at position.
>      * @param {Blob} data The blob to write.
>      */
>     write(data: Blob): void;{code}
> Shall be as follows:
> {code:java}
>     /**
>      * Write the supplied data to the file at position.
>      * @param {Blob|string} data The blob to write.
>      */
>     write(data: Blob|string): void;{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org