Fix remaining lint errors (#19166)

This commit is contained in:
Andy
2017-08-20 15:37:53 -07:00
committed by GitHub
parent 83230ae14e
commit 924fafffc0
861 changed files with 2641 additions and 2198 deletions

View File

@@ -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;
}
}
}

View File

@@ -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