{
currentItem: 89,
items: [77, 89, 99]
}
{
currentItem: 77,
items: [77, 89, 99]
}
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;
}
}