UNPKG

react-obsidian

Version:

Dependency injection framework for React and React Native applications

12 lines 421 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Singleton = void 0; function Singleton() { return function singleton(constructorOrGraph, _property, descriptor) { const target = descriptor || constructorOrGraph; Reflect.defineMetadata('isSingleton', true, target); return target; }; } exports.Singleton = Singleton; //# sourceMappingURL=Singleton.js.map