Skip to content

Commit 4c98593

Browse files
fix: TS make DocumentPickerResponse a single response (#451)
1 parent 768a5a5 commit 4c98593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import invariant from 'invariant'
33
import type { PlatformTypes, SupportedPlatforms } from './fileTypes'
44
import { perPlatformTypes } from './fileTypes'
55

6-
export type DocumentPickerResponse = Array<{
6+
export type DocumentPickerResponse = {
77
uri: string
88
fileCopyUri: string
99
copyError?: string
1010
type: string
1111
name: string
1212
size: number
13-
}>
13+
}
1414

1515
export const types = perPlatformTypes[Platform.OS]
1616

0 commit comments

Comments
 (0)