Skip to content

Missing whitespace in type parameters (beta) #2882

@pjeby

Description

@pjeby

Search terms

type parameters, whitespace, spacing

Expected Behavior

There should be spaces in type parameter declarations

Actual Behavior

They were removed from src/lib/output/themes/default/partials/typeParameters.tsx in cfef3d7, causing type parameters to glomp together with their extends, making the result unreadable.

Steps to reproduce the bug

Document something with a type parameter with an extends

Environment

  • Typedoc version: 0.28 beta
  • TypeScript version: 5.2.2
  • Node.js version: 18.20.2
  • OS: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions