File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ declare module 'react-native-document-picker' {
37
37
interface DocumentPickerResponse {
38
38
uri : string ;
39
39
type : string ;
40
- fileName : string ;
41
- fileSize : string ;
40
+ name : string ;
41
+ size : string ;
42
42
}
43
43
type Platform = 'ios' | 'android' | 'windows'
44
44
export default class DocumentPicker < OS extends keyof PlatformTypes = Platform > {
@@ -48,7 +48,7 @@ declare module 'react-native-document-picker' {
48
48
) : Promise < DocumentPickerResponse > ;
49
49
static pickMultiple < OS extends keyof PlatformTypes = Platform > (
50
50
options : DocumentPickerOptions < OS >
51
- ) : Promise < DocumentPickerResponse > ;
51
+ ) : Promise < DocumentPickerResponse [ ] > ;
52
52
static isCancel < IError extends { code ?: string } > ( err ?: IError ) : boolean ;
53
53
}
54
54
}
You can’t perform that action at this time.
0 commit comments