import { Injectable } from '@nestjs/common' ; import { RootConfig } from './config' ; @ Injectable ( ) export class AppService { constructor ( private config ) { } public show ( ) { return `Your configuration is: \n${ JSON . stringify ( this . config , null , 4 ) }\n` ; } }