2015-07-23 23:04:03 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2015-07-25 00:28:28 +02:00
|
|
|
// @Filename: functionWithParams.ts
|
2015-07-23 23:04:03 +02:00
|
|
|
/////*0*/
|
|
|
|
//// /*1*/
|
|
|
|
//// function foo(x: number, y: string): boolean {}
|
|
|
|
|
2018-01-12 02:43:27 +01:00
|
|
|
const noIndentScaffolding = "/**\n * \n * @param x\n * @param y\n */";
|
|
|
|
const oneIndentScaffolding = "/**\n * \n * @param x\n * @param y\n */";
|
2015-08-04 00:09:49 +02:00
|
|
|
const noIndentOffset = 8;
|
2015-07-25 00:28:28 +02:00
|
|
|
const oneIndentOffset = noIndentOffset + 4;
|
|
|
|
|
|
|
|
goTo.marker("0");
|
2017-09-07 16:21:47 +02:00
|
|
|
verify.docCommentTemplateAt("0", noIndentOffset, noIndentScaffolding);
|
|
|
|
verify.docCommentTemplateAt("1", oneIndentOffset, oneIndentScaffolding);
|