mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
angular: deprecate ng
This commit is contained in:
7
angularjs/angular.d.ts
vendored
7
angularjs/angular.d.ts
vendored
@@ -14,7 +14,8 @@ interface Function {
|
||||
}
|
||||
|
||||
// Collapse ng into angular
|
||||
import angular = ng;
|
||||
// NOTE: this is going to be deprecated
|
||||
import ng = angular;
|
||||
|
||||
// Support AMD require
|
||||
declare module 'angular' {
|
||||
@@ -22,9 +23,9 @@ declare module 'angular' {
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// ng module (angular.js)
|
||||
// angular module (angular.js)
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
declare module ng {
|
||||
declare module angular {
|
||||
|
||||
// not directly implemented, but ensures that constructed class implements $get
|
||||
interface IServiceProviderClass {
|
||||
|
||||
Reference in New Issue
Block a user