@types/react-native-get-random-values
Version:
TypeScript definitions for react-native-get-random-values
34 lines (27 loc) • 980 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-get-random-values/index.d.ts)
````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](https://github.com/fabio-nettis).