Skip to content

Commit

Permalink
Added return type for RNFetchblob.fs.hash typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
vunyunt committed Jan 4, 2019
1 parent 574febb commit b48f0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export interface FS {
* @param path Path to the file
* @param algorithm The hash algorithm to use
*/
hash(path: string, algorithm: HashAlgorithm);
hash(path: string, algorithm: HashAlgorithm): Promise<string>;

/**
* Create file stream from file at `path`.
Expand Down

0 comments on commit b48f0e7

Please sign in to comment.