diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-26 19:02:30 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-26 19:02:30 +0100 |
| commit | 1a2edf44e1f53ab5d6cf5937e91146b2d97c1619 (patch) | |
| tree | ff740f3e69437a724ec17a2d521d300ff360800d /mdx.d.ts | |
| parent | 189a8698c601c6121e6a07dbf32ebac716cae386 (diff) | |
chore: use mdx with custom components
Diffstat (limited to 'mdx.d.ts')
| -rw-r--r-- | mdx.d.ts | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,10 +1,13 @@ declare module '*.mdx' { + import { MDXProps } from 'mdx/types'; import { Meta } from '@ts/types/app'; - let MDXComponent: (props: any) => JSX.Element; + let MDXComponent: (props: MDXProps) => JSX.Element; export default MDXComponent; - export const meta: Meta; + export const cover: string; + export const image: string; export const intro: string; + export const meta: Meta; export const pdf: string; - export const image: string; + export const seo: { title: string; description: string }; } |
