Rectify type for IState.template (#9354)

Add `params: IStateParamsService` for IState.template function
This commit is contained in:
Abhishek Garg
2016-05-21 20:44:13 +05:30
committed by Masahiro Wakame
parent 7e9254fac7
commit 41f31600a1

View File

@@ -35,7 +35,7 @@ declare namespace angular.ui {
/**
* String HTML content, or function that returns an HTML string
*/
template?: string | {(): string};
template?: string | {(params: IStateParamsService): string};
/**
* String URL path to template file OR Function, returns URL path string
*/