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

1.0.0 • Public • Published

Installation

npm install --save @types/react-native-file-type

Summary

This package contains type definitions for react-native-file-type (https://github.com/DefinitelyTyped/DefinitelyTyped/tree/main/types/react-native-file-type).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-file-type.

export interface FileTypeResult {
    ext: string;
    mime: string;
}

export default function FileType(uri: string): Promise<FileTypeResult | null>;

Additional Details

  • Last updated: Wed, 04 Dec 2024 16:39:01 GMT
  • Dependencies: none

Credits

These definitions were written by Niclas Collmer.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-file-type

Weekly Downloads

23

Version

1.0.0

License

MIT

Unpacked Size

3.03 kB

Total Files

5

Last publish

Collaborators

  • types