We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0646ffe commit 79e422eCopy full SHA for 79e422e
examples/edge-functions/netlify/edge-functions/json.ts
@@ -1,9 +1,9 @@
1
-import type { Context, Config } from "@netlify/edge-functions";
+import type { Config } from "@netlify/edge-functions";
2
3
-export default async (request: Request, context: Context) => {
+export default async () => {
4
return Response.json({ hello: "world" });
5
};
6
7
export const config: Config = {
8
path: "/json",
9
-};
+};
0 commit comments