From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 19 Sep 2023 18:13:57 +0200 Subject: refactor(build): replace paths aliases with relative paths Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases. --- src/ts/types/mdx.ts | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/ts/types/mdx.ts (limited to 'src/ts/types/mdx.ts') diff --git a/src/ts/types/mdx.ts b/src/ts/types/mdx.ts deleted file mode 100644 index 7645ce6..0000000 --- a/src/ts/types/mdx.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { StaticImageData } from 'next/image'; -import { Meta } from './app'; - -export type MDXData = { - file: string; - image: MDXImage; -}; - -export type MDXImage = StaticImageData & { - alt: string; - title?: string; -}; - -export type MDXPageMeta = Pick, 'cover' | 'dates' | 'seo'> & { - intro: string; - title: string; -}; - -export type MDXProjectMeta = Exclude, 'wordsCount'> & { - intro: string; - title: string; -}; -- cgit v1.2.3