TypeScript/tests/cases/fourslash/docCommentTemplateConstructor01.ts

35 lines
665 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
////class C {
//// private p;
//// /*0*/
//// constructor(a, b, c, d);
//// /*1*/
//// constructor(public a, private b, protected c, d, e?) {
//// }
////
//// foo();
//// foo(a?, b?, ...args) {
//// }
////}
2015-09-25 01:30:40 +02:00
const newTextOffset = 12;
verify.docCommentTemplateAt("0", /*newTextOffset*/ newTextOffset,
2015-09-25 01:30:40 +02:00
`/**
*
* @param a
* @param b
* @param c
* @param d
*/`);
verify.docCommentTemplateAt("1", /*newTextOffset*/ newTextOffset,
2015-09-25 01:30:40 +02:00
`/**
*
* @param a
* @param b
* @param c
* @param d
* @param e
*/`);