summaryrefslogtreecommitdiffstats
path: root/mdx.d.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-26 19:02:30 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-26 19:02:30 +0100
commit1a2edf44e1f53ab5d6cf5937e91146b2d97c1619 (patch)
treeff740f3e69437a724ec17a2d521d300ff360800d /mdx.d.ts
parent189a8698c601c6121e6a07dbf32ebac716cae386 (diff)
chore: use mdx with custom components
Diffstat (limited to 'mdx.d.ts')
-rw-r--r--mdx.d.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/mdx.d.ts b/mdx.d.ts
index 7644488..f3a9a90 100644
--- a/mdx.d.ts
+++ b/mdx.d.ts
@@ -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 };
}