Skip to content

Commit 1d458e6

Browse files
authored
fix: file size is a number, not string (#320)
1 parent f44a9c3 commit 1d458e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ declare module 'react-native-document-picker' {
5656
copyError?: string;
5757
type: string;
5858
name: string;
59-
size: string;
59+
size: number;
6060
}
6161
type Platform = 'ios' | 'android' | 'windows';
6262
export default class DocumentPicker<OS extends keyof PlatformTypes = Platform> {

0 commit comments

Comments
 (0)