mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Rectify type for IState.template (#9354)
Add `params: IStateParamsService` for IState.template function
This commit is contained in:
committed by
Masahiro Wakame
parent
7e9254fac7
commit
41f31600a1
2
angular-ui-router/angular-ui-router.d.ts
vendored
2
angular-ui-router/angular-ui-router.d.ts
vendored
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user