UNPKG

ngx-decorate

Version:

Useful decorators for Angular 2 and above

22 lines 657 B
import * as tslib_1 from "tslib"; import { _setProp } from '../lib/symbols'; /** @internal */ export function setProp(self) { var e_1, _a; if (self[_setProp]) { try { for (var _b = tslib_1.__values(self[_setProp]), _c = _b.next(); !_c.done; _c = _b.next()) { var p = _c.value; self[p.prop] = p.value; } } catch (e_1_1) { e_1 = { error: e_1_1 }; } finally { try { if (_c && !_c.done && (_a = _b.return)) _a.call(_b); } finally { if (e_1) throw e_1.error; } } } } //# sourceMappingURL=setProp.js.map