1 | export var PromiseCompleter = (function () {
|
2 | function PromiseCompleter() {
|
3 | var _this = this;
|
4 | this.promise = new Promise(function (res, rej) {
|
5 | _this.resolve = res;
|
6 | _this.reject = rej;
|
7 | });
|
8 | }
|
9 | return PromiseCompleter;
|
10 | }());
|
11 |
|
12 | //# sourceMappingURL=promise-completer.js.map
|