mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Reduced type severity of templateProvider in IState interface
templateProvider can be an annotated function (any[]) like controllerProvider, so any is a more appropriate typing.
This commit is contained in:
2
angular-ui/angular-ui-router.d.ts
vendored
2
angular-ui/angular-ui-router.d.ts
vendored
@@ -11,7 +11,7 @@ declare module ng.ui {
|
||||
name?: string;
|
||||
template?: any;
|
||||
templateUrl?: any;
|
||||
templateProvider?: () => string;
|
||||
templateProvider?: any;
|
||||
controller?: any;
|
||||
controllerAs?: string;
|
||||
controllerProvider?: any;
|
||||
|
||||
Reference in New Issue
Block a user