Skip to content

Commit b48f0e7

Browse files
committed
Added return type for RNFetchblob.fs.hash typedef
1 parent 574febb commit b48f0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export interface FS {
323323
* @param path Path to the file
324324
* @param algorithm The hash algorithm to use
325325
*/
326-
hash(path: string, algorithm: HashAlgorithm);
326+
hash(path: string, algorithm: HashAlgorithm): Promise<string>;
327327

328328
/**
329329
* Create file stream from file at `path`.

0 commit comments

Comments
 (0)