diff --git a/angular/index.d.ts b/angular/index.d.ts index bae6351cfb..f3f9fc87a6 100644 --- a/angular/index.d.ts +++ b/angular/index.d.ts @@ -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 } /**