From 1980f82dc584ea531f62f2737f89bf26b43e9781 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Thu, 5 Oct 2023 21:26:11 +0200 Subject: [PATCH] fix: init error by bare specifier import (#1871) --- src/server/mod.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/mod.ts b/src/server/mod.ts index b4a8833a..dd979c6c 100644 --- a/src/server/mod.ts +++ b/src/server/mod.ts @@ -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; + // deno-lint-ignore no-explicit-any + ) => Promise | any; // deno-lint-ignore no-explicit-any handler?: Handler | Handlers | UnknownHandler; config?: RouteConfig | LayoutConfig | ErrorHandler;