Skip to content

Commit 21e8ece

Browse files
authored
added flow type
1 parent 788d528 commit 21e8ece

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,6 +8,6 @@
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
}

0 commit comments

Comments
 (0)