type ProjectsRouter = typeof projectRoutes;
// The resulting type is:
type ProjectsRouter = Hono<BlankEnv, {
"/": {
$get: {
input: {};
output: {
projects: {
name: string;
id: string;
image: string | null;
url: string | null;
slug: string;
description: string | null;
}[];
};
outputFormat: "json";
status: 200;
};
};
} & {
...;
}, "/">
type ProjectsRouter = typeof projectRoutes;
// The resulting type is:
type ProjectsRouter = Hono<BlankEnv, {
"/": {
$get: {
input: {};
output: {
projects: {
name: string;
id: string;
image: string | null;
url: string | null;
slug: string;
description: string | null;
}[];
};
outputFormat: "json";
status: 200;
};
};
} & {
...;
}, "/">