Skip to content

Commit 8936ca6

Browse files
authored
Merge pull request #23 from AthennaIO/develop
fix(type): return any in get method of config class
2 parents a05e822 + 19613d4 commit 8936ca6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@athenna/config",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"description": "Cache and handle environment variables and config files of Athenna.",
55
"license": "MIT",
66
"author": "João Lenon <lenon@athenna.io>",

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Config {
5555
* @param {any,undefined} defaultValue
5656
* @return {any}
5757
*/
58-
static get(key: string, defaultValue?: any): Promise<void>
58+
static get(key: string, defaultValue?: any): any
5959

6060
/**
6161
* Load all configuration files in path.

0 commit comments

Comments
 (0)