src/vs/workbench/api/common/shared/dataTransfer.ts/toDataTransferDTO
	export async function toDataTransferDTO(value: IDataTransfer): Promise<DataTransferDTO> {
		const newDTO: DataTransferDTO = {
			types: [],
			items: []
		};
		const entries = Array.from(value.entries());
		for (const entry of entries) {
			newDTO.types.push(entry[0]);
			newDTO.items.push({
				asString: await entry[1].asString()
			});
		}
		return newDTO;
	}