πApp Host
The module that provides the access to the NestJS application instance.
Imports
import { AppHostService } from 'niro-health';import { AppHostModule } from 'niro-health';import type { IAppHostService } from 'niro-health';Method of Use
import { Module } from '@nestjs/common';
import { AppHostModule, AppHostService } from 'niro-health';
import { AppController } from './app.controller';
import { AppService } from './app.service';
@Module({
imports: [AppHostModule],
controllers: [AppController],
providers: [
AppService,
{
provide: 'IAppHostService',
useClass: AppHostService,
},
],
})
export class AppModule {}Global
Without dependencies
Properties
Property
Scope
Description
Methods
Method
Scope
Description
Last updated