diff --git a/examples/edge-functions/netlify/edge-functions/json.ts b/examples/edge-functions/netlify/edge-functions/json.ts index 6a9a3ef..b7f87c0 100644 --- a/examples/edge-functions/netlify/edge-functions/json.ts +++ b/examples/edge-functions/netlify/edge-functions/json.ts @@ -1,9 +1,9 @@ -import type { Context, Config } from "@netlify/edge-functions"; +import type { Config } from "@netlify/edge-functions"; -export default async (request: Request, context: Context) => { +export default async () => { return Response.json({ hello: "world" }); }; export const config: Config = { path: "/json", -}; \ No newline at end of file +};