BREAKING: move a bunch of types into server/ (#263)

Moved some server only types like `RouteConfig` into server/. They were
previously in runtime/.
This commit is contained in:
Luca Casonato
2022-06-21 15:21:07 +02:00
committed by GitHub
parent 3458e35d8e
commit da340daeb2
22 changed files with 245 additions and 231 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
/** @jsx h */
import { h } from "preact";
import { RouteConfig } from "$fresh/runtime.ts";
import { HandlerContext } from "../../../server.ts";
import { HandlerContext, RouteConfig } from "$fresh/server.ts";
export const handler = {
GET(_req: Request, { params }: HandlerContext) {