fix: init error by bare specifier import (#1871)

This commit is contained in:
Marvin Hagemeister
2023-10-05 21:26:11 +02:00
committed by GitHub
parent 4044b5be78
commit 1980f82dc5
+2 -2
View File
@@ -1,5 +1,4 @@
import { LayoutConfig } from "$fresh/server.ts";
import { ComponentChildren } from "preact";
import { ServerContext } from "./context.ts";
export type { FromManifestOptions } from "./context.ts";
export { Status } from "./deps.ts";
@@ -72,7 +71,8 @@ export interface Manifest {
propsOrRequest: any,
// deno-lint-ignore no-explicit-any
ctx: any,
) => Promise<ComponentChildren | Response> | ComponentChildren;
// deno-lint-ignore no-explicit-any
) => Promise<any | Response> | any;
// deno-lint-ignore no-explicit-any
handler?: Handler<any, any> | Handlers<any, any> | UnknownHandler;
config?: RouteConfig | LayoutConfig | ErrorHandler;