@hestjs/core
Version:
HestJS Core Framework - A TypeScript framework built on Hono with dependency injection and decorators
29 lines • 644 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HestApplicationInstance = void 0;
/**
* HestJS 应用实例
*/
class HestApplicationInstance {
app;
container;
constructor(app, container) {
this.app = app;
this.container = container;
}
/**
* 获取 DI 容器
*/
getContainer() {
return this.container;
}
/**
* 获取底层 Hono 实例 (内部使用)
* @internal
*/
getHonoInstance() {
return this.app;
}
}
exports.HestApplicationInstance = HestApplicationInstance;
//# sourceMappingURL=hest-application.js.map