fix: ignore

This commit is contained in:
Alex Yang
2025-05-02 17:39:36 -07:00
parent bd611db17d
commit 908dffd27d
2 changed files with 1 additions and 24 deletions
+1
View File
@@ -5,3 +5,4 @@ dist
.cache
.DS_Store
*.pem
src/pages.gen.ts
-24
View File
@@ -1,24 +0,0 @@
// deno-fmt-ignore-file
// biome-ignore format: generated types do not need formatting
// prettier-ignore
import type { PathsForPages, GetConfigResponse } from 'waku/router';
// prettier-ignore
import type { getConfig as About_getConfig } from './pages/about';
// prettier-ignore
import type { getConfig as Index_getConfig } from './pages/index';
// prettier-ignore
type Page =
| ({ path: '/about' } & GetConfigResponse<typeof About_getConfig>)
| ({ path: '/' } & GetConfigResponse<typeof Index_getConfig>);
// prettier-ignore
declare module 'waku/router' {
interface RouteConfig {
paths: PathsForPages<Page>;
}
interface CreatePagesConfig {
pages: Page;
}
}