@tsed/common
Version:
A TypeScript Framework on top of Express
23 lines • 730 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlatformModule = void 0;
const tslib_1 = require("tslib");
const di_1 = require("@tsed/di");
const mvc_1 = require("../mvc");
const Platform_1 = require("./services/Platform");
/**
* @ignore
*/
let PlatformModule = class PlatformModule {
constructor(platform) {
platform.createRoutersFromControllers();
}
};
PlatformModule = tslib_1.__decorate([
di_1.Module({
imports: [di_1.InjectorService, mvc_1.ConverterService, Platform_1.Platform]
}),
tslib_1.__metadata("design:paramtypes", [Platform_1.Platform])
], PlatformModule);
exports.PlatformModule = PlatformModule;
//# sourceMappingURL=PlatformModule.js.map