File

src/app.service.ts

Index

Properties
Methods

Methods

getStatus
getStatus()
Returns : string

Properties

Public config
Type : ConfigService
Decorators :
@Inject(ConfigService)
import { Inject, Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';

@Injectable()
export class AppService {
  @Inject(ConfigService)
  public config: ConfigService;

  getStatus(): string {
    return 'OK';
  }
}

results matching ""

    No results matching ""