jorum
Version:
Model layer with rx.js for React applications.
10 lines (9 loc) • 412 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.injectMetadataKey = Symbol();
function inject(target, propertyKey, parameterIndex) {
var injects = Reflect.getOwnMetadata(exports.injectMetadataKey, target, propertyKey) || [];
injects.push(parameterIndex);
Reflect.defineMetadata(exports.injectMetadataKey, injects, target, propertyKey);
}
exports.inject = inject;