Installation
npm install --save @types/react-native-get-random-values
Summary
This package contains type definitions for react-native-get-random-values (https://github.com/LinusU/react-native-get-random-values).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-get-random-values.
index.d.ts
export type TypedIntArray =
| Int8Array
| Uint8Array
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| Uint8ClampedArray;
declare global {
interface crypto {
getRandomValues<T extends TypedIntArray>(array: T): T | null;
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Fabio Nettis.