How to use the __decorate function from tslib

Find comprehensive JavaScript tslib.__decorate code examples handpicked from public code repositorys.

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);
fork icon0
star icon2
watch icon1

+ 2 other calls in file