hyperweb-io / hyperweb-io/ts-codegen
Message Composer Extract union type
- Lingua principale
- TypeScript
- Stelle
- 126
- Fork
- 31
- Merge medio
- 19m
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Locate the message composer and inspect how it generates camelCased signatures for union arrays. Reproduce the incorrect typings described in the issue, then verify that the generated type uses Extract on ExecuteMsg for the propose_modules property and that the resulting signatures are correct.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100