@@ -1709,7 +1709,7 @@ declare namespace angular {
1709
1709
* controller if passed as a string. Empty function by default.
1710
1710
* Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
1711
1711
*/
1712
- controller ?: string | Function | any [ ] ;
1712
+ controller ?: string | Function | ( string | Function ) [ ] ;
1713
1713
/**
1714
1714
* An identifier name for a reference to the controller. If present, the controller will be published to scope under
1715
1715
* the controllerAs name. If not present, this will default to be the same as the component name.
@@ -1724,15 +1724,15 @@ declare namespace angular {
1724
1724
* $attrs - Current attributes object for the element
1725
1725
* Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
1726
1726
*/
1727
- template ?: string | Function | any [ ] ;
1727
+ template ?: string | Function | ( string | Function ) [ ] ;
1728
1728
/**
1729
1729
* path or function that returns a path to an html template that should be used as the contents of this component.
1730
1730
* If templateUrl is a function, then it is injected with the following locals:
1731
1731
* $element - Current element
1732
1732
* $attrs - Current attributes object for the element
1733
1733
* Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
1734
1734
*/
1735
- templateUrl ?: string | Function | any [ ] ;
1735
+ templateUrl ?: string | Function | ( string | Function ) [ ] ;
1736
1736
/**
1737
1737
* Define DOM attribute binding to component properties. Component properties are always bound to the component
1738
1738
* controller and not to the scope.
0 commit comments