File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " strontium" ,
3
- "version" : " 2.7.2 " ,
3
+ "version" : " 2.7.3 " ,
4
4
"description" : " Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects." ,
5
5
"main" : " lib/src/index.js" ,
6
6
"types" : " lib/src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ export class Environment<O extends ObjectValidator> implements Process {
7
7
8
8
constructor ( private validator : O ) { }
9
9
10
- public getKey < K extends keyof ValidatedObject < O > > ( key : K ) : O [ K ] {
10
+ public getKey < K extends keyof ValidatedObject < O > > (
11
+ key : K
12
+ ) : ValidatedObject < O > [ K ] {
11
13
if ( this . validatedEnvironment !== undefined ) {
12
14
return this . validatedEnvironment [ key ]
13
15
} else {
You can’t perform that action at this time.
0 commit comments