toObject()
inferred type too long when compiled with declaration: true
#231
Labels
bug
Something isn't working
I'm working with pg_query.proto from libpg_query and encountered this issue generating code with protoc-gen-ts.
When compiling the generated module with
"declaration": true
set intsconfig.json
the tsc build fails with the following error:Something about enabling generating declaration files seems to cause the toObject inferred type to become too long for tsc. There might be other option that cause this but I could reliably reproduce the issue with the declaration option.
Issue is reproduced here: https://github.com/Hilzu/ts-proto-with-pg-query/tree/protoc-gen-ts
The text was updated successfully, but these errors were encountered: