Update ITemplateLinkingFunction signature according to ng1.6 (#14041)

* update $compile specs to latest angular 1

* fix(angular): ITemplateLinking function signature according to ng1.6

* revert(angularjs): revert added file angular.d.ts

* angular: in ITemplateLinkingFunction replace any by IController
This commit is contained in:
kevinmerckx 2017-01-17 15:26:12 +01:00 committed by Andy
parent c19d52d8fd
commit bfcd32a2bc

10
angular/index.d.ts vendored
View File

@ -1280,7 +1280,15 @@ declare namespace angular {
// This corresponds to the "publicLinkFn" returned by $compile.
interface ITemplateLinkingFunction {
(scope: IScope, cloneAttachFn?: ICloneAttachFunction): JQuery;
(scope: IScope, cloneAttachFn?: ICloneAttachFunction, options?: ITemplateLinkingFunctionOptions): JQuery;
}
interface ITemplateLinkingFunctionOptions {
parentBoundTranscludeFn?: ITranscludeFunction,
transcludeControllers?: {
[controller: string]: { instance: IController }
},
futureParentElement?: JQuery
}
/**