//// [tests/cases/compiler/es5-umd4.ts] ////

//// [es5-umd4.ts]
class A
{
    constructor ()
    {

    }

    public B()
    {
        return 42;
    }
}

export = A;


//// [es5-umd4.js]
(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports"], factory);
    }
})(function (require, exports) {
    "use strict";
    class A {
        constructor() {
        }
        B() {
            return 42;
        }
    }
    return A;
});
