We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcea4b4 commit 83d9f1cCopy full SHA for 83d9f1c
packages/proto-loader/bin/proto-loader-gen-types.ts
@@ -153,7 +153,7 @@ function getImportLine(dependency: Protobuf.Type | Protobuf.Enum | Protobuf.Serv
153
throw new Error('Invalid object passed to getImportLine');
154
}
155
156
- return `import type { ${importedTypes} } from '${filePath}';`
+ return `import type { ${importedTypes} } from '${filePath}.ts';`
157
158
159
function getChildMessagesAndEnums(namespace: Protobuf.NamespaceBase): (Protobuf.Type | Protobuf.Enum)[] {
0 commit comments