mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* 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'
8 lines
145 B
TypeScript
8 lines
145 B
TypeScript
import env = require('dotenv-safe');
|
|
|
|
env.config({
|
|
allowEmptyValues: true,
|
|
path: '/foo/bar/baz.env',
|
|
sample: '/foo/bar/qux.env',
|
|
});
|