text: var A = (function () {
      function A() {
      }
      A.prototype.B = function () {
          return 42;
      };
      return A;
  })();
  
  ////[es3-declaration-amd.d.ts]
  declare class A {
      constructor();
      public B(): number;
  }
  