a77c6014b3
* Parse comment on @property tag and use as documentation comment * Fix comment parsing bug -- back up after seeing `@` character * Add test for indent * Don't default comment to ""
16 lines
372 B
TypeScript
16 lines
372 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @allowJs: true
|
|
|
|
// @Filename: /a.js
|
|
/////**
|
|
//// * @typedef I
|
|
//// * @property {number} x Doc
|
|
//// * More doc
|
|
//// */
|
|
////
|
|
/////** @type {I} */
|
|
////const obj = { /**/x: 10 };
|
|
|
|
// TODO: GH#21123 There shouldn't be a " " before "More doc"
|
|
verify.quickInfoAt("", "(property) x: number", "Doc\n More doc");
|