TypeScript/tests/cases/fourslash/jsDocTagsWithHyphen.ts
Wesley Wigham 8b7664ae15
Generate more correct property name nodes in declaration emit (#34741)
* Generate more correct property name nodes in declaration emit

* Silly only-on-CI lint rule T.T
2019-10-30 12:40:59 -07:00

25 lines
548 B
TypeScript

///<reference path="fourslash.ts" />
// @allowJs: true
// @Filename: dummy.js
//// /**
//// * @typedef Product
//// * @property {string} title
//// * @property {boolean} h/*1*/igh-top some-comments
//// */
////
//// /**
//// * @type {Pro/*2*/duct}
//// */
//// const product = {
//// /*3*/
//// }
verify.quickInfoAt('1', '(property) high-top: boolean', 'some-comments');
verify.quickInfoAt('2', 'type Product = {\n title: string;\n "high-top": boolean;\n}');
verify.completions({
marker: ['3'],
includes: ['"high-top"']
});