mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-08 11:39:11 +08:00
NG directives: fixes
Allow functions to be defined for template/templateUrl and array notation in controller There's not a more elegant solution that I know of until we get structs in TS anyway.
This commit is contained in:
1 parent
9d24e5d8f6
commit
1ea3ae922f
1 file changed
+3
-3
Vendored
+3
-3
@@ -668,15 +668,15 @@ declare module ng {
|
||||
|
||||
interface IDirective{
|
||||
priority?: number;
|
||||
template?: string;
|
||||
templateUrl?: string;
|
||||
template?: any;
|
||||
templateUrl?: any;
|
||||
replace?: boolean;
|
||||
transclude?: any;
|
||||
restrict?: string;
|
||||
scope?: any;
|
||||
link?: Function;
|
||||
compile?: Function;
|
||||
controller?: Function;
|
||||
controller?: any;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user