src/vs/workbench/api/common/extHostTypeConverters.ts/toDataTransfer
	export function toDataTransfer(value: extHostProtocol.DataTransferDTO, resolveFileData: (dataItemIndex: number) => Promise<Uint8Array>): types.DataTransfer {
		const init = value.items.map(([type, item], index) => {
			return [type, DataTransferItem.toDataTransferItem(item, () => resolveFileData(index))] as const;
		});
		return new types.DataTransfer(init);
	}