@types/react-native-get-random-values
TypeScript icon, indicating that this package has built-in type declarations

1.8.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-get-random-values

Weekly Downloads

15,749

Version

1.8.2

License

MIT

Unpacked Size

3.28 kB

Total Files

5

Last publish

Collaborators

  • types