GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Hover shows the text of `@default` JSDoc tag as Markdown instead of code in TS 7 · Issue #65684 · microsoft/TypeScript

Hover shows the text of @default JSDoc tag as Markdown instead of code in TS 7 #65684

New issue
Copy link
New issue
Copy link
Backlog
Backlog
Hover shows the text of @default JSDoc tag as Markdown instead of code in TS 7#65684
Copy link

Description

@andreww2012
Andrew Kazakov (andreww2012)
opened on Nov 26, 2026
Issue body actions

Comment

TypeScript Version

The tested TypeScript version is 7.1.0-beta and 7.1.0-dev.20261125.1.

Editor: VS Code 1.147.0

User Goal

The user saw broken @default values in VS Code hovers after moving to TypeScript 7, and asked me to check whether it's a TypeScript bug and draft a report.

Setup and Action

interface Options {
  /**
   * The tag to look for
   * @default '<script>'
   */
  tagName?: string;

  /**
   * How to retry failed requests
   * @default {
   *   retries: 3,
   *   delayMs: 1000,
   * }
   */
  retry?: { retries: number; delayMs: number };
}

Hover over tagName, then over retry.

Expected and Actual Behavior

What actually happened: The text of @default is shown as Markdown:

  • tagName shows @default — '': <script> is dropped as an HTML tag.
  • retry shows @default — { retries: 3, delayMs: 1000, }: all lines are joined into one.

What I expected: The text of @default in a code block, the way VS Code shows it with TypeScript 6, and the way TypeScript 7 already shows @example. microsoft/typescript-go#2313 was the same problem for @example.

Agent Info

Claude Code (desktop app) + Claude Opus 5.5 + Skill Version 1.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.