You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when calling tsc together with the outputIndex=true option in version 2.2.4. Everything normal in version 1.181.2
Error
General view of errors
error TS4023: Exported variable 'X' has or is using name 'MessageFns' from external module "/path/to/dist/google/protobuf/empty" but cannot be named
Error example
dist/clients/clients.ts:1045:14 - error TS4023: Exported variable 'ClientsDefinition' has or is using name 'MessageFns' from external module "/path/to/dist/google/protobuf/empty" but cannot be named.
The text was updated successfully, but these errors were encountered:
skycrazyk
changed the title
Error when calling tsc together with the outputIndex=true option
Error when calling tsc together with the outputIndex=true option
Oct 22, 2024
skycrazyk
changed the title
Error when calling tsc together with the outputIndex=true option
Error when calling tsc together with the outputIndex=true option
Oct 22, 2024
Insinuates that adding an import of MessageFns to clients.ts will fix things.
Can you try adding that import and see if that fixes it?
It also seems like the error is related to the --declaration flag, so maybe we should try running that on for our integration/* test suite and see what happens? 🤔
If you could try that, i.e. make sure our integration test suite is using the declaration flag, and see what happens in a PR build, that would be great. Thanks!
Error when calling
tsc
together with theoutputIndex=true
option in version 2.2.4. Everything normal in version 1.181.2Error
General view of errors
Error example
Protoc CLI command
Typescript CLI command
Dependencies
Global
NPM
Protofile example
The text was updated successfully, but these errors were encountered: