itinance/react-native-sha256

Broken types: Generic type 'Array<T>' requires 1 type argument(s)

danilobuerger opened this issue · 0 comments

When checking the types:

node_modules/react-native-sha256/sha256.d.ts:3:37 - error TS2314: Generic type 'Array<T>' requires 1 type argument(s).

3     export const sha1Bytes: (input: Array) => Promise<string>;
                                      ~~~~~

node_modules/react-native-sha256/sha256.d.ts:5:39 - error TS2314: Generic type 'Array<T>' requires 1 type argument(s).

5     export const sha256Bytes: (input: Array) => Promise<string>;