refactor: use type import

This commit is contained in:
Kim, Jimin 2023-08-04 15:47:17 +09:00
parent cf653915cd
commit bd83c47177
Signed by: pomp
GPG key ID: CE1DDB8A4A765403
14 changed files with 19 additions and 16 deletions

View file

@ -2,9 +2,9 @@ import { contentMap } from ".."
import { contentDirectoryPath } from "../config"
import { generateToc } from "../parseMarkdown"
import { addDocument } from "../searchIndex"
import { PostData } from "../types/types"
import type { PostData } from "../types/types"
import { writeToFile } from "../util"
import { DataToPass } from "."
import type { DataToPass } from "."
export default async function parsePost(data: DataToPass): Promise<void> {
const {