mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Updated angular IDirective for 1.2.0
Conflicts: angularjs/angular.d.ts
This commit is contained in:
parent
604c5b5d6f
commit
9ba67fffd6
6
angularjs/angular-1.0.d.ts
vendored
6
angularjs/angular-1.0.d.ts
vendored
@ -671,15 +671,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;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
25
angularjs/angular.d.ts
vendored
25
angularjs/angular.d.ts
vendored
@ -640,16 +640,29 @@ declare module ng {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
interface IDirective{
|
||||
compile?:
|
||||
(templateElement: any,
|
||||
templateAttributes: IAttributes,
|
||||
transclude: (scope: IScope, cloneLinkingFn: Function) => void
|
||||
) => any;
|
||||
controller?: (...injectables: any[]) => void;
|
||||
controllerAs?: string;
|
||||
link?:
|
||||
(scope: IScope,
|
||||
instanceElement: any,
|
||||
instanceAttributes: IAttributes,
|
||||
controller: any
|
||||
) => void;
|
||||
name?: string;
|
||||
priority?: number;
|
||||
template?: any;
|
||||
templateUrl?: any;
|
||||
replace?: boolean;
|
||||
transclude?: any;
|
||||
require?: string[];
|
||||
restrict?: string;
|
||||
scope?: any;
|
||||
link?: Function;
|
||||
compile?: Function;
|
||||
controller?: any;
|
||||
template?: any;
|
||||
templateUrl?: any;
|
||||
terminal?: boolean;
|
||||
transclude?: any;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Loading…
Reference in New Issue
Block a user