Skip to content

Commit

Permalink
Update src/contexts/ConfigProvider.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: Prokop Simek <prokopsimek@users.noreply.github.com>
  • Loading branch information
adelkahomolova and prokopsimek authored Oct 25, 2019
1 parent fcfa1c7 commit b011e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/ConfigProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class ConfigProvider implements IConfigProvider {
getOverriddenPractice(practiceId: string): PracticeConfig {
const practiceConfig = _.get(this.config, ['practices', practiceId]);
if (typeof practiceConfig !== 'string' && practiceConfig !== undefined) {
return { impact: practiceConfig.impact };
return { impact: <PracticeImpact>practiceConfig.impact };
}

return {
Expand Down

0 comments on commit b011e5f

Please sign in to comment.