Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: isGlobal works properly now
Browse files Browse the repository at this point in the history
Nikaple committed May 7, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2efa31d commit 3dd2154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/typed-config.module.ts
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ export class TypedConfigModule {
schema: Config,
normalize = identity,
validationOptions,
isGlobal,
validate = this.validateWithClassValidator.bind(this),
} = options;

@@ -34,6 +35,7 @@ export class TypedConfigModule {
const providers = this.getProviders(config, Config);

return {
global: isGlobal,
module: TypedConfigModule,
providers,
exports: providers,

0 comments on commit 3dd2154

Please sign in to comment.