Usage
Signature:
interface CoreRouter.Route<P extends Record<string, any> = Record<string, any>>
Generic Parameters
Parameter Description P Parameters object for the router state
Typescript Import Format
//To use this interface, import as below.
import CoreRouter= require("ojs/ojcorerouter");
//To access this interface in your code,
let myVariable: CoreRouter.Route;
For additional information visit:
A Route defines the path and optional parameters to which a router will navigate.
The Route.path must match a route config which was passed
to the router via the CoreRouter constructor or CoreRouter#createChildRouter.