renamed typing.ts -> types.ts

This commit is contained in:
Kim, Jimin 2022-01-05 23:06:49 +09:00
parent 4eae414f38
commit 9c7b630247
10 changed files with 9 additions and 9 deletions

View file

@ -14,7 +14,7 @@ import { saveIndex } from "./searchIndex"
import postProcess from "./postProcess"
import clean from "./clean"
import { Map, ParseMode, SeriesMap, PortfolioData } from "../types/typing"
import { Map, ParseMode, SeriesMap, PortfolioData } from "../types/types"
export const map: Map = {
date: {},

View file

@ -18,7 +18,7 @@ import "katex/contrib/mhchem" // chemical formula
import { JSDOM } from "jsdom" // HTML DOM parsing
import { nthIndex } from "./util"
import { MarkdownData, ParseMode } from "../types/typing"
import { MarkdownData, ParseMode } from "../types/types"
const md = markdownIt({
// https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md

View file

@ -8,7 +8,7 @@ import { contentDirectoryPath } from "./config"
import { addDocument } from "./searchIndex"
import { map, seriesMap } from "."
import { MarkdownData, ParseMode, PostData } from "../types/typing"
import { MarkdownData, ParseMode, PostData } from "../types/types"
/**
* Data that's passed from {@link parseFile} to other function

View file

@ -1,7 +1,7 @@
import styled from "styled-components"
import { useNavigate } from "react-router-dom"
import { PostData } from "../../types/typing"
import { PostData } from "../../types/types"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import {

View file

@ -6,7 +6,7 @@ import {
faHourglass,
} from "@fortawesome/free-solid-svg-icons"
import { FetchedPage } from "../../../types/typing"
import { FetchedPage } from "../../../types/types"
import theming from "../../styles/theming"
const StyledMetaContainer = styled.div`

View file

@ -3,7 +3,7 @@ import { Helmet } from "react-helmet-async"
import { useLocation } from "react-router-dom"
import styled from "styled-components"
import { FetchedPage, Map } from "../../../types/typing"
import { FetchedPage, Map } from "../../../types/types"
import MainContent from "../../components/MainContent"
import Loading from "../../components/Loading"

View file

@ -12,7 +12,7 @@ import PostCard from "../components/PostCard"
import _map from "../data/map.json"
import theming from "../styles/theming"
import { Map } from "../../types/typing"
import { Map } from "../../types/types"
const map: Map = _map

View file

@ -4,7 +4,7 @@ import Select from "react-select"
import theming from "../../styles/theming"
import _map from "../../data/map.json"
import { Map } from "../../../types/typing"
import { Map } from "../../../types/types"
const map: Map = _map

View file

@ -20,7 +20,7 @@ import SearchBar from "./SearchBar"
import TagSelect, { TagsData } from "./TagSelect"
import { ClearDateButton, DateRangeControl, StyledDateRange } from "./DateRange"
import { Map } from "../../../types/typing"
import { Map } from "../../../types/types"
import "react-date-range/dist/styles.css"
import "react-date-range/dist/theme/default.css"