chore: clean up parsedcontent types

This commit is contained in:
eggy
2023-05-24 12:25:31 -04:00
parent 006c1494ca
commit 528e09a26f
6 changed files with 13 additions and 13 deletions

View File

@@ -1,9 +1,9 @@
<script setup lang="ts">
import type { StoryParsedContent, BlogParsedContent } from "@/shared/types";
import type { AnyParsedContent } from "@/shared/types";
import { calcReadingTime } from "@/shared/metadata";
const props = defineProps<{
post: StoryParsedContent | BlogParsedContent;
post: AnyParsedContent;
type: "stories" | "blog";
highlighttags?: string[];
}>();