interface Navigate {
currentItem: number;
items: number[]
}
export class NavigateToFirst implements Action {
readonly type = NavigateActions.CHANGE_Navigate;
public payload: Navigate;
constructor(navigate: Navigate) {
// change
this.payload = navigate;
}
}