"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataTransferItemAsString = dataTransferItemAsString;
async function dataTransferItemAsString(item) {
    return new Promise((resolve) => {
        item.getAsString((text) => {
            resolve(text);
        });
    });
}
//# sourceMappingURL=index.js.map