var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
define(["require", "exports", "jquery", "autosize"], function (require, exports, jquery_1, autosize_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.Autosize = void 0;
    jquery_1 = __importDefault(jquery_1);
    autosize_1 = __importDefault(autosize_1);
    function Autosize(element) {
        (0, autosize_1.default)((0, jquery_1.default)(element));
    }
    exports.Autosize = Autosize;
    document.addEventListener('DOMContentLoaded', () => {
        Autosize(document.querySelectorAll('textarea:not(.noresize)'));
    });
});
