class A {
  m1(element: Element, key: string, undefined: undefined) /* block comment */ {
    // method body
  }
  m2(element: Element, key: string, undefined: undefined): void /* block comment */ {
    // method body
  }
  m3(tagName: string, rect: number[]): void // line comment
  {
    // method body
  }
  m4(tagName: string, rect: number[]) // line comment
  {
    // method body
  }
}
