We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
str({ devDefault: undefined }) is intended to return undefined in development, based on this existing test:
str({ devDefault: undefined })
envalid/tests/basics.test.ts
Lines 53 to 59 in 53f54e9
However, the type of the resulting value is reported as string instead of string | undefined.
string
string | undefined
The text was updated successfully, but these errors were encountered:
^ Probably caused by #194, will take a look
Sorry, something went wrong.
devDefault: undefined
Should be fixed in 8.0.0-beta.1, please re-open otherwise!
No branches or pull requests
str({ devDefault: undefined })
is intended to return undefined in development, based on this existing test:envalid/tests/basics.test.ts
Lines 53 to 59 in 53f54e9
However, the type of the resulting value is reported as
string
instead ofstring | undefined
.The text was updated successfully, but these errors were encountered: