import { type esbuildNative } from "https://deno.land/x/esbuild_deno_loader@0.7.2/test_deps.ts";
const { ServeOptions } = esbuildNative;
Documentation: https://esbuild.github.io/api/#serve-arguments
Properties
optional
onRequest: (args: ServeOnRequestArgs) => void