CosmWasm / ts-codegen

Convert your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.
https://cosmology.zone/products/ts-codegen
Apache License 2.0
116 stars 28 forks source link

Message Composer Extract union type #117

Open adairrr opened 1 year ago

adairrr commented 1 year ago

The message composer still generates incorrect typings for union arrays.

It should use something like:

CamelCasedProperties<
      Extract<
        ExecuteMsg,
        {
          propose_modules: unknown
        }
      >['propose_modules']
    >

for the camelCased signatures.