Skip to content

Commit

Permalink
CB-13960: fix FileWriter.write argument type definition for typescript (
Browse files Browse the repository at this point in the history
#231)

Fix FileWriter.write argument type definition for typescript
  • Loading branch information
vldmr-bus authored and janpio committed Oct 1, 2018
1 parent 6e7871b commit 5353b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ interface FileWriter extends FileSaver {
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.
Expand Down

0 comments on commit 5353b84

Please sign in to comment.