mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
name parameter is optional
This commit is contained in:
1
angular-ui/angular-ui-router.d.ts
vendored
1
angular-ui/angular-ui-router.d.ts
vendored
@@ -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