Skip to content

Doc comment has trailing space #25916

@ghost

Description

TypeScript Version: master

Code

/// <reference path='fourslash.ts'/>

// @Filename: quickInfoJsDocTags.ts
/////** Doc */
////const /**/x = 0;

verify.quickInfoAt("", "const x: 0", "Doc");

Expected behavior:

Test passes.

Actual behavior:

Test fails. Doc comment is actually "Doc ".

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationDomain: Quick Infoe.g. hover text, tool-tips, and tooltips.FixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions