"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapResponse = void 0;
const _1 = require("../Class/$");
function wrapResponse(response, system) {
    const $response = new (class Response_ extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['RES'];
        }
        toJson() {
            return response.json();
        }
    })(system);
    return $response;
}
exports.wrapResponse = wrapResponse;
//# sourceMappingURL=Response.js.map