@types/react-native-base64
Version:
TypeScript definitions for react-native-base64
28 lines (21 loc) • 913 B
Markdown
# Installation
> `npm install --save @types/react-native-base64`
# Summary
This package contains type definitions for react-native-base64 (https://github.com/eranbo/react-native-base64#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-base64.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-base64/index.d.ts)
````ts
interface Base64 {
encode: (input: string) => string;
decode: (input: string) => string;
encodeFromByteArray: (byteArray: Uint8Array) => string;
}
declare const base64: Base64;
export = base64;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: none
# Credits
These definitions were written by [seongjoojin](https://github.com/seongjoojin), and [markyao6275](https://github.com/markyao6275).