chore: rename PageConfig to RouteConfig (#202)

This commit is contained in:
Luca Casonato
2022-05-23 15:52:29 +02:00
committed by GitHub
parent 0fa001f1b6
commit f9f0125282
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/** @jsx h */
import { h, PageConfig, PageProps } from "../client_deps.ts";
import { h, PageProps, RouteConfig } from "../client_deps.ts";
export default function WildcardPage({ params }: PageProps) {
if (typeof params.path === "string") {
@@ -10,6 +10,6 @@ export default function WildcardPage({ params }: PageProps) {
}
}
export const config: PageConfig = {
export const config: RouteConfig = {
routeOverride: "/foo/:path*",
};