From 0a0cadd8536635c3e53a9757b9396d256d6dd2d5 Mon Sep 17 00:00:00 2001 From: darktutu Date: Fri, 11 Dec 2015 18:10:11 +0800 Subject: [PATCH] directive compile can return a function whit void IDirective --- 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 a489141d54..f90992e27e 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -1650,7 +1650,7 @@ declare module angular { templateElement: IAugmentedJQuery, templateAttributes: IAttributes, transclude: ITranscludeFunction - ): IDirectivePrePost; + ): void | IDirectivePrePost; } interface IDirective {