Skip to content

Commit

Permalink
Fix any types from migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystler committed Nov 26, 2024
1 parent 86ba26f commit b1f4671
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/MarkdownContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import { PageDescription, PageTitle } from "$lib/page-meta";
interface Props {
title: any;
description: any;
title: string;
description: string;
children?: import("svelte").Snippet;
}
let { title, description, children }: Props = $props();
Expand Down
3 changes: 2 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<script lang="ts">
import PageNavigation from "$lib/components/PageNavigation.svelte";
import Post from "$lib/components/Post.svelte";
import type { PageData } from "./$types";
interface Props {
data: any;
data: PageData;
}
let { data }: Props = $props();
</script>
Expand Down
3 changes: 2 additions & 1 deletion src/routes/[year]/[month]/[day]/[title]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<script lang="ts">
import Post from "$lib/components/Post.svelte";
import type { PageData } from "./$types";
interface Props {
data: any;
data: PageData;
}
let { data }: Props = $props();
</script>
Expand Down
3 changes: 2 additions & 1 deletion src/routes/page[page]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<script lang="ts">
import PageNavigation from "$lib/components/PageNavigation.svelte";
import Post from "$lib/components/Post.svelte";
import type { PageData } from "./$types";
interface Props {
data: any;
data: PageData;
}
let { data }: Props = $props();
</script>
Expand Down

0 comments on commit b1f4671

Please sign in to comment.