bitfront-library
Version:
Angular CLI project with components and classes used by other Angular projects of the BIT foundation.
26 lines (25 loc) • 752 B
TypeScript
import { Action } from "@ngrx/store";
import { NavigationExtras } from "@angular/router";
export declare const GO = "[Router] Go";
export declare const BACK = "[Router] Back";
export declare const FORWARD = "[Router] Forward";
export declare class Go implements Action {
payload: {
path: any[];
query?: object;
extras?: NavigationExtras;
};
readonly type = "[Router] Go";
constructor(payload: {
path: any[];
query?: object;
extras?: NavigationExtras;
});
}
export declare class Back implements Action {
readonly type = "[Router] Back";
}
export declare class Forward implements Action {
readonly type = "[Router] Forward";
}
export declare type Actions = Go | Back | Forward;