How to use the __spreadArray function from tslib
Find comprehensive JavaScript tslib.__spreadArray code examples handpicked from public code repositorys.
GitHub: hwyn/dynamic-builder
140 141 142 143 144 145 146 147 148 149
} } if (!executeHandler) { throw new Error("".concat(name, " not defined!")); } return (0, utility_1.transformObservable)(executeHandler.apply(undefined, tslib_1.__spreadArray([action], otherEvent, true))); }; Action = tslib_1.__decorate([ tslib_1.__param(0, (0, di_1.Inject)(di_1.Injector)), tslib_1.__param(1, (0, di_1.Inject)(token_1.GET_TYPE)),
0
2
1
+ 29 other calls in file
31 32 33 34 35 36 37 38 39 40
var LoadConfig = this.injector.get(token_1.LOAD_BUILDER_CONFIG); var privateExtension = this.privateExtension.map(function (_a) { var extension = _a.extension; return extension; }); var Extensions = tslib_1.__spreadArray(tslib_1.__spreadArray([], (0, lodash_1.flatMap)(this.injector.get(token_1.BUILDER_EXTENSION)), true), privateExtension, true); return new LoadConfig(this, props, this.$$cache).init().pipe((0, utility_1.observableMap)(function (loadExample) { Object.defineProperty(_this, CACHE, (0, utility_1.withValue)(getCacheObj.call(_this, props))); var beforeInits = Extensions .map(function (Extension) { return new Extension(_this, props, _this.$$cache, props.config); })
0
2
1
+ 2 other calls in file
tslib.__assign is the most popular function in tslib (16334 examples)