TypeScript/tests/cases/fourslash/jsDocFunctionSignatures8.ts
Nathan Shively-Sanders 8bd0a47c82 Retain space after first word in multiline jsdoc
For words that were shorter than the jsdoc indent level, the space was
omitted previously.
2016-11-10 13:11:32 -08:00

18 lines
514 B
TypeScript

///<reference path="fourslash.ts" />
// @allowJs: true
// @Filename: Foo.js
/////**
//// * Represents a person
//// * a b multiline test
//// * @constructor
//// * @param {string} name The name of the person
//// * @param {number} age The age of the person
//// */
////function Person(name, age) {
//// this.name = name;
//// this.age = age;
////}
////var p = new Pers/**/on();
goTo.marker();
verify.quickInfoIs("function Person(name: string, age: number): void", "Represents a person\na b multiline test");