name parameter is optional

This commit is contained in:
Greg Weber
2014-04-03 15:39:07 -07:00
parent a53d50e91a
commit a15b7d3a03

View File

@@ -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;
}