@@ -2711,20 +2711,7 @@ export type SettingChangeEvent = NativeSyntheticEvent<
27112711>;
27122712export type PasteEvent = NativeSyntheticEvent<
27132713 $ReadOnly<{|
2714- dataTransfer: {|
2715- files: $ReadOnlyArray<{|
2716- height: number,
2717- size: number,
2718- type: string,
2719- uri: string,
2720- width: number,
2721- |}>,
2722- items: $ReadOnlyArray<{|
2723- kind: string,
2724- type: string,
2725- |}>,
2726- types: $ReadOnlyArray<string>,
2727- |},
2714+ dataTransfer: DataTransfer,
27282715 |}>,
27292716>;
27302717export type SubmitKeyEvent = $ReadOnly<{|
@@ -3119,20 +3106,7 @@ export type SettingChangeEvent = NativeSyntheticEvent<
31193106>;
31203107export type PasteEvent = NativeSyntheticEvent<
31213108 $ReadOnly<{|
3122- dataTransfer: {|
3123- files: $ReadOnlyArray<{|
3124- height: number,
3125- size: number,
3126- type: string,
3127- uri: string,
3128- width: number,
3129- |}>,
3130- items: $ReadOnlyArray<{|
3131- kind: string,
3132- type: string,
3133- |}>,
3134- types: $ReadOnlyArray<string>,
3135- |},
3109+ dataTransfer: DataTransfer,
31363110 |}>,
31373111>;
31383112export type SubmitKeyEvent = $ReadOnly<{|
@@ -8548,18 +8522,22 @@ export type MouseEvent = NativeSyntheticEvent<
85488522 timestamp: number,
85498523 }>,
85508524>;
8551- export type DataTransferItem = $ReadOnly<{
8525+ export type DataTransferFile = $ReadOnly<{
85528526 name: string,
8553- kind: string,
8554- type: string,
8527+ type: ?string,
85558528 uri: string,
85568529 size?: number,
85578530 width?: number,
85588531 height?: number,
85598532}>;
8533+ export type DataTransferItem = $ReadOnly<{
8534+ kind: string,
8535+ type: ?string,
8536+ }>;
85608537export type DataTransfer = $ReadOnly<{
8561- files: $ReadOnlyArray<DataTransferItem>,
8562- types: $ReadOnlyArray<string>,
8538+ files: $ReadOnlyArray<DataTransferFile>,
8539+ items: $ReadOnlyArray<DataTransferItem>,
8540+ types: $ReadOnlyArray<?string>,
85638541}>;
85648542export type DragEvent = NativeSyntheticEvent<
85658543 $ReadOnly<{
0 commit comments