Skip to content

Commit

Permalink
fix a wrong type for template context
Browse files Browse the repository at this point in the history
  • Loading branch information
DMezhenskyi committed Dec 27, 2022
1 parent 4242cd0 commit 94d9e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/widgets/weather-widget/weather-widget.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class WeatherWidgetComponent {
actionTemplate!: TemplateRef<any>;

@Input()
contentTemplate!: TemplateRef<WidgetState>;
contentTemplate!: TemplateRef<{ $implicit: WidgetState }>;

state = inject(WidgetState);
actions = inject(WidgetActions);
Expand Down

0 comments on commit 94d9e86

Please sign in to comment.