NativeScript / NativeScript/android-dts-generator

some generic classes are not reported as generic

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

Nobody has claimed this yet.

Dominant language
Java
Stars
96
Forks
25
PR merge metrics
No merged PRs in 30d

Description

You'll see errors with classes like java.lang.Enum because there is no default generic type.
I wonder if we can determine the right generic type

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 by reproducing the reported errors for generic classes such as java.lang.Enum and trace the generator path that determines generic types. Clarify what generic type should be emitted when no default exists, then verify that the generated TypeScript declaration reports the appropriate type.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.