npm install --save @types/react-native-file-type
This package contains type definitions for react-native-file-type (https://github.com/DefinitelyTyped/DefinitelyTyped/tree/main/types/react-native-file-type).
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>;
- Last updated: Wed, 04 Dec 2024 16:39:01 GMT
- Dependencies: none
These definitions were written by Niclas Collmer.