TypeScript/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts

38 lines
535 B
TypeScript

// @removeComments: true
class A {
constructor() {
// Single Line Comment
var x = 10;
}
}
class B {
constructor() {
/*
Multi-line comment
*/
var y = 10;
}
}
class C {
constructor() {
// Single Line Comment with more than one blank line
var x = 10;
}
}
class D {
constructor() {
/*
Multi-line comment with more than one blank line
*/
var y = 10;
}
}