mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Fix remaining lint errors (#19166)
This commit is contained in:
6
types/angular-resource/index.d.ts
vendored
6
types/angular-resource/index.d.ts
vendored
@@ -184,8 +184,8 @@ declare module 'angular' {
|
||||
|
||||
/** when creating a resource factory via IModule.factory */
|
||||
interface IResourceServiceFactoryFunction<T> {
|
||||
($resource: resource.IResourceService): IResourceClass<T>;
|
||||
<U extends IResourceClass<T>>($resource: resource.IResourceService): U;
|
||||
($resource: IResourceService): IResourceClass<T>;
|
||||
<U extends IResourceClass<T>>($resource: IResourceService): U;
|
||||
}
|
||||
|
||||
// IResourceServiceProvider used to configure global settings
|
||||
@@ -202,7 +202,7 @@ declare module 'angular' {
|
||||
|
||||
namespace auto {
|
||||
interface IInjectorService {
|
||||
get(name: '$resource'): ng.resource.IResourceService;
|
||||
get(name: '$resource'): resource.IResourceService;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"interface-name": false,
|
||||
"only-arrow-functions": false,
|
||||
"no-empty-interface": false,
|
||||
"no-object-literal-type-assertion": false,
|
||||
"ban-types": false,
|
||||
"space-before-function-paren": false,
|
||||
"unified-signatures": false
|
||||
|
||||
Reference in New Issue
Block a user