mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
fix ui-router-extras/ui-router-extras.d.ts
This commit is contained in:
parent
55f5aec426
commit
b1223bd7e2
14
ui-router-extras/ui-router-extras.d.ts
vendored
14
ui-router-extras/ui-router-extras.d.ts
vendored
@ -21,7 +21,7 @@ declare module angular.ui {
|
||||
/*
|
||||
* This method resets stored $deepStateRedirect data so following transitions will behave like there have not been previous transitions.
|
||||
* @param stateParams Can be passed in to select specific states to reset:
|
||||
* {
|
||||
* {
|
||||
* 'paramName': 'paramvalue' | ['list', 'of', 'possible', 'paramvalues']
|
||||
* }
|
||||
*/
|
||||
@ -33,13 +33,13 @@ declare module angular.ui {
|
||||
*/
|
||||
interface IDeepStateRedirectConfig {
|
||||
/*
|
||||
* If no deep state has been recorded, DSR will instead redirect to the default substate and params that you specify.
|
||||
* If no deep state has been recorded, DSR will instead redirect to the default substate and params that you specify.
|
||||
* If default is a string it is interpreted as the substate.
|
||||
*/
|
||||
default?: string | IRedirectParams;
|
||||
/*
|
||||
* Specify params: true if your DSR state takes parameters.
|
||||
* If only a subset of the parameters should be included in the parameter grouping for recording deep states,
|
||||
* If only a subset of the parameters should be included in the parameter grouping for recording deep states,
|
||||
* specify an array of parameter names.
|
||||
*/
|
||||
params?: boolean | string[];
|
||||
@ -58,8 +58,8 @@ declare module angular.ui {
|
||||
/*
|
||||
* Previous state
|
||||
*/
|
||||
interface IPreviousState {
|
||||
state: IState;
|
||||
interface IPreviousState {
|
||||
state: IState;
|
||||
params?: ui.IStateParamsService;
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ declare module angular.ui {
|
||||
* @param memoName Memo name
|
||||
*/
|
||||
forget(memoName: string): void;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sticky state
|
||||
@ -128,7 +128,7 @@ declare module angular.ui {
|
||||
/*
|
||||
* Note: named views are mandatory when using sticky states!
|
||||
*/
|
||||
views?: {};
|
||||
views?: { [name:string]: angular.ui.IState };
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user