mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Move types definition under src directory
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { MarkdownInstance } from "astro";
|
||||
import type { Frontmatter } from "./types";
|
||||
import type { Frontmatter } from "../types";
|
||||
|
||||
const getSortedPosts = (posts: MarkdownInstance<Frontmatter>[]) =>
|
||||
posts.sort(
|
||||
|
||||
Reference in New Issue
Block a user