CB-13960: fix FileWriter.write argument type definition for typescript (#231)
Fix FileWriter.write argument type definition for typescript
diff --git a/types/index.d.ts b/types/index.d.ts
index c748e3d..40f1a82 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -294,9 +294,9 @@
length: number;
/**
* Write the supplied data to the file at position.
- * @param {Blob} data The blob to write.
+ * @param {Blob|string} data The blob to write.
*/
- write(data: Blob): void;
+ write(data: Blob|string): void;
/**
* The file position at which the next write will occur.
* @param offset If nonnegative, an absolute byte offset into the file.