itinance / react-native-sha256

sha256 natively for react-native
MIT License
99 stars 50 forks source link

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

Open danilobuerger opened 9 months ago

danilobuerger commented 9 months ago

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>;