summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/npm/hono/dist/index.js
blob: a11e3395fd3db1c4685b3bfc18e5d8ea3d30e6dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"use strict";
// @denoify-ignore
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="./request.ts" /> Import "declare global" for the Request interface.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Hono = void 0;
const hono_1 = require("./hono");
Object.defineProperty(exports, "Hono", { enumerable: true, get: function () { return hono_1.Hono; } });
hono_1.Hono.prototype.fire = function () {
    addEventListener('fetch', (event) => {
        void event.respondWith(this.handleEvent(event));
    });
};