Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(): do not remove undefined from ConfigService.get return type
The return type now no longer excludes undefined if `WasValidated` is true. Previously, optional properties were stripped of `undefined` which hid possible null errors. BREAKING CHANGE: Users that have strictNullChecks enabled, have optional properties on their Env class, and depend on the behavior of ConfigService.get stripping undefined from the return type will receive type errors.
- Loading branch information