cosmology-tech / telescope

A TypeScript Transpiler for Cosmos Protobufs ⚛️
https://cosmology.zone/products/telescope
Apache License 2.0
144 stars 43 forks source link

Don't include impl interface types in excluded files #560

Closed Zetazzz closed 8 months ago

Zetazzz commented 8 months ago

Previous logic is that impl interfaces in excluded files still appear in types of accepted interfaces field, e.g.:

content?: TextProposal | RegisterIncentiveProposal(this might be excluded, hence build error)

Fixed logic:

// excluded type wouldn't be here anymore
content?: TextProposal