Skip to content

Commit

Permalink
fix(config): default generic to a typescript string record
Browse files Browse the repository at this point in the history
  • Loading branch information
yharaskrik committed May 21, 2020
1 parent 633465b commit a31dea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import { NoInferType } from './types';

@Injectable()
export class ConfigService<K = any> {
export class ConfigService<K = Record<string, any>> {
constructor(
@Optional()
@Inject(CONFIGURATION_TOKEN)
Expand Down

0 comments on commit a31dea3

Please sign in to comment.