Closed SamLevinSE closed 2 years ago
Hey,
Checking the documentation of NestJS, the value assigned to the load property is an array, however, in the example you provided you directly pass the configuration. This produces a type error. From docs:
The update will be like this:
ConfigModule.forRoot({ isGlobal: true, load: [configuration], })
Best, Sam
@SamLevinSE thanks for writing in. I have updated the docs.
Hey,
Checking the documentation of NestJS, the value assigned to the load property is an array, however, in the example you provided you directly pass the configuration. This produces a type error. From docs:
The update will be like this:
ConfigModule.forRoot({ isGlobal: true, load: [configuration], })
Best, Sam