This commit is contained in:
Benjamin Toby
2025-02-03 13:41:13 +01:00
parent cee4bc0478
commit 619afc8303
29 changed files with 722 additions and 169 deletions
+6
View File
@@ -0,0 +1,6 @@
import type { NextApiRequest, NextApiResponse } from "next";
type Data = {
name: string;
};
export default function handler(req: NextApiRequest, res: NextApiResponse<Data>): void;
export {};
+6
View File
@@ -0,0 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = handler;
function handler(req, res) {
res.status(200).json({ name: "John Doe" });
}