Closed cirvladimir closed 8 months ago
This library/code-generator doesn't use .fromObject()
or .toObject()
so I'm guessing you've filed an issue with the wrong repo.
You can identify code generated by us by this line at the top of the file:
// @generated by protobuf-ts ...
I'm generating proto for a file that uses
descriptor.proto
, which causes google/descriptor.ts to be generated. However, that file contains invalid typescript, which results in compilation issues.There are about 10-20 errors in this fashion:
Note how the
file
field is nullable, however there is no null check in the function.