Move types definition under src directory

This commit is contained in:
Sat Naing
2022-09-22 20:39:51 +06:30
parent f367e05793
commit 9e351fe26d
7 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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(