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:
@@ -166,7 +166,7 @@ await Deno.writeTextFile(
|
||||
|
||||
const ROUTES_GREET_TSX = `/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { PageProps } from "$fresh/runtime.ts";
|
||||
import { PageProps } from "$fresh/server.ts";
|
||||
|
||||
export default function Greet(props: PageProps) {
|
||||
return <div>Hello {props.params.name}</div>;
|
||||
|
||||
Reference in New Issue
Block a user