Merge branch 'proto-loader_type_generator' of github.com:murgatroid99/grpc-node into proto-loader_type_generator

This commit is contained in:
Michael Lumish 2021-03-31 13:22:26 -07:00
commit 0aa99dd4fb
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ function getImportLine(dependency: Protobuf.Type | Protobuf.Enum | Protobuf.Serv
const filePath = from === undefined ? './' + getImportPath(dependency) : getRelativeImportPath(from, dependency);
const typeInterfaceName = getTypeInterfaceName(dependency);
let importedTypes: string;
/* If the dependenc is defined within a message, it will be generated in that
/* If the dependency is defined within a message, it will be generated in that
* message's file and exported using its typeInterfaceName. */
if (dependency.parent instanceof Protobuf.Type) {
if (dependency instanceof Protobuf.Type) {