hyperweb-io / hyperweb-io/ts-codegen
Message Composer Extract union type
- Vorherrschende Sprache
- TypeScript
- Sterne
- 126
- Forks
- 31
- Ø Merge
- 19 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100