mirror of https://github.com/grpc/grpc-node.git
				
				
				
			Fix lint errors
This commit is contained in:
		
							parent
							
								
									e32fec18fe
								
							
						
					
					
						commit
						15f877aa45
					
				|  | @ -27,7 +27,9 @@ export interface ProtobufTypeDefinition { | ||||||
|   fileDescriptorProtos: Buffer[]; |   fileDescriptorProtos: Buffer[]; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export interface PackageDefinition { [index: string]: ServiceDefinition | ProtobufTypeDefinition; } | export interface PackageDefinition { | ||||||
|  |   [index: string]: ServiceDefinition|ProtobufTypeDefinition; | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Map with short names for each of the requester maker functions. Used in |  * Map with short names for each of the requester maker functions. Used in | ||||||
|  | @ -128,7 +130,9 @@ export type GrpcObject = { | ||||||
|   [index: string]: GrpcObject|ServiceClientConstructor|ProtobufTypeDefinition; |   [index: string]: GrpcObject|ServiceClientConstructor|ProtobufTypeDefinition; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| function isProtobufTypeDefinition(obj: ServiceDefinition | ProtobufTypeDefinition): obj is ProtobufTypeDefinition { | function isProtobufTypeDefinition( | ||||||
|  |     obj: ServiceDefinition| | ||||||
|  |     ProtobufTypeDefinition): obj is ProtobufTypeDefinition { | ||||||
|   return 'format' in obj; |   return 'format' in obj; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue