mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00: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:
6
angularjs/angular.d.ts
vendored
6
angularjs/angular.d.ts
vendored
@@ -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