UNPKG

react-obsidian

Version:

Dependency injection framework for React and React Native applications

13 lines 560 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LifecycleBound = void 0; function LifecycleBound(options) { return (constructor) => { var _a; Reflect.defineMetadata('isLifecycleBound', true, constructor); Reflect.defineMetadata('lifecycleScope', (_a = options === null || options === void 0 ? void 0 : options.scope) !== null && _a !== void 0 ? _a : 'feature', constructor); return constructor; }; } exports.LifecycleBound = LifecycleBound; //# sourceMappingURL=LifecycleBound.js.map