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' {
3737 interface DocumentPickerResponse {
3838 uri : string ;
3939 type : string ;
40- fileName : string ;
41- fileSize : string ;
40+ name : string ;
41+ size : string ;
4242 }
4343 type Platform = 'ios' | 'android' | 'windows'
4444 export default class DocumentPicker < OS extends keyof PlatformTypes = Platform > {
@@ -48,7 +48,7 @@ declare module 'react-native-document-picker' {
4848 ) : Promise < DocumentPickerResponse > ;
4949 static pickMultiple < OS extends keyof PlatformTypes = Platform > (
5050 options : DocumentPickerOptions < OS >
51- ) : Promise < DocumentPickerResponse > ;
51+ ) : Promise < DocumentPickerResponse [ ] > ;
5252 static isCancel < IError extends { code ?: string } > ( err ?: IError ) : boolean ;
5353 }
5454}
You can’t perform that action at this time.
0 commit comments