From a5608d64a3955d4abd112a267b40adc2c95271a4 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Wed, 7 Sep 2016 14:04:49 +0300 Subject: [PATCH] Revert "Add missing definition" (#11039) --- angularjs/angular.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 111ba86cce..b989e640ea 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -238,7 +238,6 @@ declare namespace angular { * @param directiveFactory An injectable directive factory function. */ directive(name: string, inlineAnnotatedFunction: any[]): IModule; - directive(name: string, injectionFunction: Function): IModule; directive(object: Object): IModule; /** * Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.