How to use the __decorate function from tslib
Find comprehensive JavaScript tslib.__decorate code examples handpicked from public code repositorys.
GitHub: hwyn/dynamic-builder
142 143 144 145 146 147 148 149 150 151
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)), tslib_1.__metadata("design:paramtypes", [di_1.Injector, Object]) ], Action);
0
2
1
+ 2 other calls in file
tslib.__assign is the most popular function in tslib (16334 examples)