Skip to content

Get documentation comment from @property tag #21105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jan 9, 2018 · 0 comments
Closed

Get documentation comment from @property tag #21105

ghost opened this issue Jan 9, 2018 · 0 comments
Labels
Fixed A PR has been merged for this issue Suggestion An idea for TypeScript

Comments

@ghost
Copy link

ghost commented Jan 9, 2018

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.

@ghost ghost added Suggestion An idea for TypeScript Salsa labels Jan 9, 2018
@ghost ghost self-assigned this Jan 9, 2018
@ghost ghost closed this as completed in #21119 Jan 11, 2018
@mhegazy mhegazy added this to the TypeScript 2.7.1 milestone Jan 11, 2018
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Jan 11, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Fixed A PR has been merged for this issue Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

1 participant