Skip to content

Get documentation comment from @property tag #21105

@ghost

Description

TypeScript Version: 2.7.0-dev.20180109

Code

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

// @allowJs: true

// @Filename: /a.js
/////**
//// * @typedef I
//// * @property {number} x Doc
//// */
////
/////** @type {I} */
////const obj = { /**/x: 10 };

verify.quickInfoAt("", "(property) x: number", "Doc");

Expected behavior:

Gets the documentation comment from the @property tag.

Actual behavior:

No documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions