We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7268548 + 2de502f commit 5ef9e14Copy full SHA for 5ef9e14
index.d.ts
@@ -37,8 +37,8 @@ declare module 'react-native-document-picker' {
37
interface DocumentPickerResponse {
38
uri: string;
39
type: string;
40
- fileName: string;
41
- fileSize: string;
+ name: string;
+ size: string;
42
}
43
type Platform = 'ios' | 'android' | 'windows'
44
export default class DocumentPicker<OS extends keyof PlatformTypes = Platform> {
@@ -48,7 +48,7 @@ declare module 'react-native-document-picker' {
48
): Promise<DocumentPickerResponse>;
49
static pickMultiple<OS extends keyof PlatformTypes = Platform>(
50
options: DocumentPickerOptions<OS>
51
- ): Promise<DocumentPickerResponse>;
+ ): Promise<DocumentPickerResponse[]>;
52
static isCancel<IError extends {code?: string}>(err?: IError): boolean;
53
54
0 commit comments