ui-router-core
Version:
UI-Router Core: Framework agnostic, State-based routing for JavaScript Single Page Apps
22 lines (21 loc) • 794 B
TypeScript
/**
* @coreapi
* @module params
*/
/** */
import { Obj } from "../common/common";
import { StateObject } from "../state/stateObject";
/** @internalapi */
export declare class StateParams {
[key: string]: any;
constructor(params?: Obj);
/**
* Merges a set of parameters with all parameters inherited between the common parents of the
* current state and a given destination state.
*
* @param {Object} newParams The set of parameters which will be composited with inherited params.
* @param {Object} $current Internal definition of object representing the current state.
* @param {Object} $to Internal definition of object representing state to transition to.
*/
$inherit(newParams: Obj, $current: StateObject, $to: StateObject): {} & Obj;
}