Skip to content

Commit

Permalink
Update: Type definition for require() (fixes #24)
Browse files Browse the repository at this point in the history
Closes #21, Closes #25
  • Loading branch information
nzakas committed Apr 12, 2021
1 parent 8b561ba commit 84c64b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class Env {
* Retrieves an environment variable. If the environment variable does
* not exist or is an empty string, then it throws an error.
* @param {string} key The environment variable name to retrieve.
* @returns {string|undefined} The environment variable value.
* @returns {string} The environment variable value.
* @throws {Error} When the environment variable doesn't exist or is an
* empty string.
*/
Expand Down

0 comments on commit 84c64b1

Please sign in to comment.