forked from DefinitelyTyped/DefinitelyTyped
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 Merge PR DefinitelyTyped#46259 [dotenv-safe] Extend DotenvConfigOut…
…put to match dotenv-safe output by @fohlin * Extend DotenvConfigOutput to match dotenv-safe output The return value of dotenv-safe.config() extends dotenv.config() by adding a `required` property, which is now reflected in the type structure. Reference https://github.com/rolodato/dotenv-safe#usage * Apply prettier on dotenv-safe npm run prettier -- --write 'types/dotenv-safe/**/*.ts'
- Loading branch information
Showing
2 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import env = require("dotenv-safe") | ||
import env = require('dotenv-safe'); | ||
|
||
env.config({ | ||
allowEmptyValues: true, | ||
path: "/foo/bar/baz.env", | ||
sample: "/foo/bar/qux.env" | ||
}) | ||
allowEmptyValues: true, | ||
path: '/foo/bar/baz.env', | ||
sample: '/foo/bar/qux.env', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters