palantir / palantir/documentalist

Some types include unnecessary empty type params list

Open
#246 0 comments 0 reactions 1 assignee View on GitHub

@adidahiya is already working on this.

Since Oct 25, 2023.

bug
Dominant language
TypeScript
Stars
160
Forks
32
Avg merge
1h 40m
Merged PRs (30d)
141

Description

This is a regression in v5.0.0 caused by https://github.com/palantir/documentalist/pull/156

Previously, types without generic type params were rendered as expected, without any <> type params list:

image

Now, they often include an extraneous & unnecessary empty type params list, which can mislead users to believe that the type is generic:

image

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.