Skip to content

Commit 67082c7

Browse files
committed
fix response type
1 parent c7c6252 commit 67082c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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> {

0 commit comments

Comments
 (0)