feat: _app (#87)

Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
Leo Kettmeir
2022-02-18 19:30:24 +01:00
committed by GitHub
co-authored by Luca Casonato
parent 2ec980ca45
commit 04a32f3498
8 changed files with 67 additions and 5 deletions
+5
View File
@@ -1,6 +1,7 @@
import { ComponentType } from "../runtime/deps.ts";
import { router } from "./deps.ts";
import {
AppProps,
ErrorPageProps,
PageConfig,
PageProps,
@@ -106,3 +107,7 @@ export interface Middleware {
handle: () => Promise<Response>,
): Response | Promise<Response>;
}
export interface AppModule {
default: ComponentType<AppProps>;
}