Skip to content

Commit 4f3f256

Browse files
committed
Merge branch 'master' of github.com:itinance/react-native-sha256
* 'master' of github.com:itinance/react-native-sha256: added flow type
2 parents c4c203c + 4ed3564 commit 4f3f256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sha256.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
const {NativeModules} = require('react-native')
99
const sha256Lib = NativeModules.sha256Lib;
1010

11-
export function sha256(data) {
11+
export function sha256(data: string) {
1212
return sha256Lib.sha256(data);
1313
}
1414

0 commit comments

Comments
 (0)