mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Merge pull request #823 from basarat/patch-1
Update angular.d.ts for dependency injection
This commit is contained in:
5
angularjs/angular.d.ts
vendored
5
angularjs/angular.d.ts
vendored
@@ -8,6 +8,11 @@
|
||||
|
||||
declare var angular: ng.IAngularStatic;
|
||||
|
||||
// Support for painless dependency injection
|
||||
interface Function {
|
||||
$inject:string[];
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// ng module (angular.js)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user