Skip to content

Commit 36f1d8d

Browse files
committed
Updated to improve IComponentOptions
1 parent 742354b commit 36f1d8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

angularjs/angular.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ declare namespace angular {
17091709
* controller if passed as a string. Empty function by default.
17101710
* Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
17111711
*/
1712-
controller?: string | Function | any[];
1712+
controller?: string | Function | (string | Function)[];
17131713
/**
17141714
* An identifier name for a reference to the controller. If present, the controller will be published to scope under
17151715
* the controllerAs name. If not present, this will default to be the same as the component name.
@@ -1724,15 +1724,15 @@ declare namespace angular {
17241724
* $attrs - Current attributes object for the element
17251725
* Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
17261726
*/
1727-
template?: string | Function | any[];
1727+
template?: string | Function | (string | Function)[];
17281728
/**
17291729
* path or function that returns a path to an html template that should be used as the contents of this component.
17301730
* If templateUrl is a function, then it is injected with the following locals:
17311731
* $element - Current element
17321732
* $attrs - Current attributes object for the element
17331733
* Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
17341734
*/
1735-
templateUrl?: string | Function | any[];
1735+
templateUrl?: string | Function | (string | Function)[];
17361736
/**
17371737
* Define DOM attribute binding to component properties. Component properties are always bound to the component
17381738
* controller and not to the scope.

0 commit comments

Comments
 (0)