File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
packages/react-native/Libraries/Types Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -307,19 +307,24 @@ export interface FocusEvent extends NativeSyntheticEvent<NativeFocusEvent> {}
307307export interface BlueEvent extends NativeSyntheticEvent < NativeBlurEvent > { }
308308
309309// Drag and Drop types
310- export interface DataTransferItem {
310+ export interface DataTransferFile {
311311 name : string ;
312- kind : string ;
313- type : string ;
312+ type : string | null | undefined ;
314313 uri : string ;
315314 size ?: number | undefined ;
316315 width ?: number | undefined ;
317316 height ?: number | undefined ;
318317}
319318
319+ export interface DataTransferItem {
320+ kind : string ;
321+ type : string | null | undefined ;
322+ }
323+
320324export interface DataTransfer {
321- files : ReadonlyArray < DataTransferItem > ;
322- types : ReadonlyArray < string > ;
325+ files : ReadonlyArray < DataTransferFile > ;
326+ items : ReadonlyArray < DataTransferItem > ;
327+ types : ReadonlyArray < string | null | undefined > ;
323328}
324329
325330export interface DragEvent extends MouseEvent {
You can’t perform that action at this time.
0 commit comments