mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Merge pull request #1981 from docmunch/ui-router-state-sig
name parameter is optional
This commit is contained in:
Vendored
+1
@@ -26,6 +26,7 @@ declare module ng.ui {
|
||||
|
||||
interface IStateProvider extends IServiceProvider {
|
||||
state(name:string, config:IState): IStateProvider;
|
||||
state(config:IState): IStateProvider;
|
||||
decorator(name?: string, decorator?: (state: IState, parent: Function) => any): any;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user