Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unused definition imports from proto-loader
Since proto files don't always contain all types of definition, it was possible to get into a state where generated code contained unused imports which caused TS errors. This change makes those imports conditional on the existence of the corresponding definitions in the proto file. Co-authored-by: Austin Puri <austin.puri@gmail.com> Co-authored-by: Joe Porpeglia <josephp@spotify.com> Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
- Loading branch information