28 lines
515 B
TypeScript
28 lines
515 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
const enum Indentation {
|
|
Indented = 12,
|
|
}
|
|
|
|
////class C {
|
|
//// /*0*/
|
|
//// [Symbol.iterator]() {
|
|
//// return undefined;
|
|
//// }
|
|
//// /*1*/
|
|
//// [1 + 2 + 3 + Math.rand()](x: number, y: string, z = true) { }
|
|
////}
|
|
|
|
verify.docCommentTemplateAt("0", Indentation.Indented,
|
|
`/**
|
|
*
|
|
*/`);
|
|
|
|
verify.docCommentTemplateAt("1", Indentation.Indented,
|
|
`/**
|
|
*
|
|
* @param x
|
|
* @param y
|
|
* @param z
|
|
*/`);
|