mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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:
parent
c19d52d8fd
commit
bfcd32a2bc
10
angular/index.d.ts
vendored
10
angular/index.d.ts
vendored
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user