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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org