mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
angular: another attempt for 1.4
This commit is contained in:
8
angularjs/angular.d.ts
vendored
8
angularjs/angular.d.ts
vendored
@@ -6,24 +6,22 @@
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
declare var angular: ng.IAngularStatic;
|
||||
declare var angular: angular.IAngularStatic;
|
||||
|
||||
// Support for painless dependency injection
|
||||
interface Function {
|
||||
$inject?: string[];
|
||||
}
|
||||
|
||||
// Collapse ng into angular
|
||||
// NOTE: this is going to be deprecated
|
||||
// Collapse angular into ng
|
||||
import ng = angular;
|
||||
|
||||
// Support AMD require
|
||||
declare module 'angular' {
|
||||
export = angular;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// angular module (angular.js)
|
||||
// ng module (angular.js)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
declare module angular {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user