From 3a82c7c52c606043d05a2bb72a20fc4596dc72a3 Mon Sep 17 00:00:00 2001 From: jraymakers Date: Tue, 7 Jan 2014 18:24:52 -0800 Subject: [PATCH] add ? to scope in ITemplateLinkingFunction --- angularjs/angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 5bfde41e9..79134e433 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -543,7 +543,7 @@ declare module ng { } interface ITemplateLinkingFunction { - (scope: IScope, cloneAttachFn?: ICloneAttachFunction): JQuery; + (scope?: IScope, cloneAttachFn?: ICloneAttachFunction): JQuery; // scope argument is optional (cloneAttachFn?: ICloneAttachFunction): JQuery; }