'use strict';

var tslib_es6 = require('../tslib.es6-8WCaSy-x.js');

function tryPromise(res) {
    return tslib_es6.__awaiter(this, void 0, void 0, function* () {
        return res.then((v) => v).catch(() => undefined);
    });
}

exports.tryPromise = tryPromise;
//# sourceMappingURL=try.js.map
