UNPKG

ngx-decorate

Version:

Useful decorators for Angular 2 and above

19 lines 565 B
import * as tslib_1 from "tslib"; /** @internal */ export function completeArray(inp) { var e_1, _a; try { for (var inp_1 = tslib_1.__values(inp), inp_1_1 = inp_1.next(); !inp_1_1.done; inp_1_1 = inp_1.next()) { var c = inp_1_1.value; c.complete(); } } catch (e_1_1) { e_1 = { error: e_1_1 }; } finally { try { if (inp_1_1 && !inp_1_1.done && (_a = inp_1.return)) _a.call(inp_1); } finally { if (e_1) throw e_1.error; } } } //# sourceMappingURL=completeArray.js.map