Put in order · NestJS course · Module 1: NestJS Basics

Importing the Configuration Package

Arrange the elements of the ConfigModule import in the correct order:

Items to put in order

  • '@nestjs/config'
  • { ConfigModule }
  • import
  • from
Show the answer

Correct order:

  1. import
  2. { ConfigModule }
  3. from
  4. '@nestjs/config'