feat: 添加TemplateManager到依赖注入
- 在app.module.ts中添加TemplateManager作为provider - 导入TemplateManager类型定义 - 完善模板管理系统的依赖注入配置
This commit is contained in:
parent
d2a4db2863
commit
b2cf85f51d
|
|
@ -1,10 +1,11 @@
|
|||
import { Module } from '@nestjs/common';
|
||||
import { AppController } from './app.controller';
|
||||
import { TemplateService } from './templates/index';
|
||||
import { TemplateManager } from './templates/types';
|
||||
|
||||
@Module({
|
||||
imports: [],
|
||||
controllers: [AppController],
|
||||
providers: [TemplateService],
|
||||
providers: [TemplateService, TemplateManager],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue