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

@ -1,4 +1,4 @@
import { PageData } from "@developomp-site/content/src/types/types"
import type { PageData } from "@developomp-site/content/src/types/types"
import {
faBook,
faCalendar,

View file

@ -2,7 +2,7 @@ import type { PageData } from "@developomp-site/content/src/types/types"
import contentMap from "@/contentMap"
import { Params } from "./page"
import type { Params } from "./page"
export enum PageType {
POST,

View file

@ -1,4 +1,4 @@
import { Metadata } from "next"
import type { Metadata } from "next"
import Home from "./Home"

View file

@ -1,4 +1,4 @@
import { ReactNode } from "react"
import type { ReactNode } from "react"
interface Props {
children?: ReactNode

View file

@ -1,4 +1,4 @@
import { PostData } from "@developomp-site/content/src/types/types"
import type { PostData } from "@developomp-site/content/src/types/types"
import {
faBook,
faCalendar,

View file

@ -1,4 +1,4 @@
import { ReactNode } from "react"
import type { ReactNode } from "react"
interface Props {
children?: ReactNode | undefined

View file

@ -1,6 +1,6 @@
import portfolio from "@developomp-site/content/dist/portfolio.json"
import type { PortfolioProject } from "@developomp-site/content/src/types/types"
import { Metadata } from "next"
import type { Metadata } from "next"
import Badge from "@/components/Badge"
import ProjectCard from "@/components/ProjectCard"

View file

@ -1,6 +1,6 @@
import "./style.scss"
import { PortfolioProject } from "@developomp-site/content/src/types/types"
import type { PortfolioProject } from "@developomp-site/content/src/types/types"
import Link from "next/link"
import Badge from "@/components/Badge"