Fix lint errors

This commit is contained in:
murgatroid99 2019-01-14 17:51:41 -08:00
parent e32fec18fe
commit 15f877aa45
1 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,9 @@ export interface ProtobufTypeDefinition {
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
@ -128,7 +130,9 @@ export type GrpcObject = {
[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;
}