Skip to content

Commit aa60f20

Browse files
author
Pietro Grandi
committed
put the right type annotation
1 parent 6e7933e commit aa60f20

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/components/location/proximity-selector.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import {Component, EventEmitter, Input} from "@angular/core";
1+
import {Component, Input} from "@angular/core";
22
import {Store} from "@ngrx/store";
3+
import {CurrentSearch} from "../reducers/current-search.model";
34

45
@Component({
56
selector: 'proximity-selector',
@@ -28,7 +29,7 @@ export class ProximitySelector {
2829
};
2930

3031
@Input()
31-
store: Store<any>;
32+
store: Store<CurrentSearch>;
3233

3334
active = false;
3435

app/components/search-box/search-box.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {Observable} from "rxjs/Rx";
22
import {ElementRef, OnInit, Component, Input} from "@angular/core";
33
import {Store} from "@ngrx/store";
4+
import {CurrentSearch} from "../reducers/current-search.model";
45

56
@Component({
67
inputs: ['store'],
@@ -17,7 +18,7 @@ export class SearchBox implements OnInit {
1718
};
1819

1920
@Input()
20-
store: Store<any>;
21+
store: Store<CurrentSearch>;
2122

2223
constructor(private el: ElementRef) {}
2324

0 commit comments

Comments
 (0)