stephenh / ts-poet

A code generator DSL for typescript
Apache License 2.0
103 stars 13 forks source link

fix: prevent import conflicts #8

Closed stezu closed 3 years ago

stezu commented 3 years ago

A rough first pass at fixing the issue documented here. This PR will alias imports from different source files with identical names so that we can correctly generate code for a proto like this one with ts-proto.

stephenh commented 3 years ago

Nice, thanks! I added a test and tweaked it a little bit, and released as 4.5.0. I think if we bump ts-proto to this version, you should be all set.