mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
support $injector.get('$resource') (#11161)
This commit is contained in:
committed by
Masahiro Wakame
parent
b154604078
commit
c393c1f1f7
6
angularjs/angular-resource.d.ts
vendored
6
angularjs/angular-resource.d.ts
vendored
@@ -186,6 +186,12 @@ declare namespace angular {
|
||||
/** creating a resource service factory */
|
||||
factory(name: string, resourceServiceFactoryFunction: angular.resource.IResourceServiceFactoryFunction<any>): IModule;
|
||||
}
|
||||
|
||||
namespace auto {
|
||||
interface IInjectorService {
|
||||
get(name: '$resource'): ng.resource.IResourceService;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface Array<T>
|
||||
|
||||
Reference in New Issue
Block a user