diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-19 18:13:57 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-09-19 19:12:31 +0200 |
| commit | 2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch) | |
| tree | dedc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/ts/types/mdx.ts | |
| parent | d1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (diff) | |
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.
Diffstat (limited to 'src/ts/types/mdx.ts')
| -rw-r--r-- | src/ts/types/mdx.ts | 22 |
1 files changed, 0 insertions, 22 deletions
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<Meta<'page'>, 'cover' | 'dates' | 'seo'> & { - intro: string; - title: string; -}; - -export type MDXProjectMeta = Exclude<Meta<'project'>, 'wordsCount'> & { - intro: string; - title: string; -}; |
