a.js(2,3): error TS8017: Signature declarations can only be used in TypeScript files.


==== a.js (1 errors) ====
    class A {
      constructor();
      ~~~~~~~~~~~~~~
!!! error TS8017: Signature declarations can only be used in TypeScript files.
    }
    