You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir (JIRA)" <ji...@apache.org> on 2018/03/08 17:23:00 UTC
[jira] [Created] (CB-13960) Typescript: FileWriter write argument
definition shall include type string
Vladimir created CB-13960:
-----------------------------
Summary: 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
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