UI5 / UI5/typescript

[ts-interface-generator] Provide a way to annotate control properties with a TS type (which might be narrower than the UI5 one)

Open
#427 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ts-interface-generator
Dominant language
TypeScript
Stars
213
Forks
35
Avg merge
37m
Merged PRs (30d)
1

Description

It should be possible to provide narrower types for control properties of type "function" (for callbacks) or "object" (sometimes questionable, but sometimes justified).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ts-interface-generator entry point and inspect how control properties typed as function or object are converted. Determine how callers should provide narrower TypeScript types and how generated interfaces should represent them. Done means both property kinds support the annotation mechanism with coverage for the resulting declarations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.