UNPKG

tsioc

Version:

tsioc is AOP, Ioc container, via typescript decorator

15 lines (13 loc) 418 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("../factories/index"); /** * Singleton decorator and metadata. define a class. * * @Singleton */ exports.Singleton = index_1.createClassDecorator('Singleton', null, function (metadata) { metadata.singleton = true; return metadata; }); //# sourceMappingURL=../../sourcemaps/core/decorators/Singleton.js.map