feat: export compat types from /compat export (#2478)

This commit is contained in:
Luca Casonato
2024-06-03 14:32:38 +00:00
committed by GitHub
parent 2fb8606e9e
commit aa19b393e7
10 changed files with 186 additions and 143 deletions
-14
View File
@@ -18,17 +18,3 @@ export type { FreshContext, Island, PageProps } from "./context.ts";
export { createDefine, type Define } from "./define.ts";
export type { Method } from "./router.ts";
export { HttpError } from "./error.ts";
// Compat with older Fresh versions
export {
type AppProps,
defineApp,
defineLayout,
defineRoute,
type ErrorPageProps,
type Handlers,
type Handlers as Handler,
type LayoutProps,
type RouteContext,
type UnknownPageProps,
} from "./compat/server.ts";