react-obsidian
Version:
Dependency injection framework for React and React Native applications
10 lines • 425 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.legacyDecorator = legacyDecorator;
const reflect_1 = require("../../utils/reflect");
function legacyDecorator(constructorOrGraph, _property, descriptor) {
const target = descriptor || constructorOrGraph;
reflect_1.Reflect.defineMetadata('isSingleton', true, target);
return target;
}
//# sourceMappingURL=singleton.legacy.js.map