Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
Runc2333 committed Sep 13, 2023
1 parent a71ad52 commit 9b95d5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export type DocumentPickerOptions<OS extends SupportedPlatforms> = {
} & Pick<ModalPropsIOS, 'presentationStyle'>

export async function pickDirectory<OS extends SupportedPlatforms>(
params?: Pick<DocumentPickerOptions<OS>, 'presentationStyle' | 'transitionStyle'> & {
initialUri?: string
},
params?: Pick<DocumentPickerOptions<OS>, 'presentationStyle' | 'transitionStyle' | 'initialUri'>,
): Promise<DirectoryPickerResponse | null> {
if (Platform.OS === 'ios') {
const result = await pick({
Expand Down

0 comments on commit 9b95d5f

Please sign in to comment.