Skip to content

Commit 2de502f

Browse files
committed
fix response type of pick and pickMultiple
1 parent 67082c7 commit 2de502f

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
@@ -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
}

0 commit comments

Comments
 (0)