From a15b7d3a033a6e0c00f0030396451d0b369eb8a3 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Thu, 3 Apr 2014 15:39:07 -0700 Subject: [PATCH] name parameter is optional --- angular-ui/angular-ui-router.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/angular-ui/angular-ui-router.d.ts b/angular-ui/angular-ui-router.d.ts index da3d92e5ec..9ddd60cd73 100644 --- a/angular-ui/angular-ui-router.d.ts +++ b/angular-ui/angular-ui-router.d.ts @@ -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; }