summaryrefslogtreecommitdiffstats
path: root/mdx.d.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-24 15:38:37 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-24 15:38:37 +0100
commitef7912256cb4765d553b002c24b9752c2d5096ac (patch)
tree59b574dbda693dc5f1b2605272a6eff3b23802f2 /mdx.d.ts
parentfe5d74a864ddd1429b0753a3984c45b2392176d2 (diff)
parent0bb6411ee9fce02c2e5680f2be5740a1bbb508ad (diff)
feat: use mdx for pages
Diffstat (limited to 'mdx.d.ts')
-rw-r--r--mdx.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/mdx.d.ts b/mdx.d.ts
new file mode 100644
index 0000000..fb9f909
--- /dev/null
+++ b/mdx.d.ts
@@ -0,0 +1,8 @@
+declare module '*.mdx' {
+ import { Meta } from '@ts/types/app';
+
+ let MDXComponent: (props: any) => JSX.Element;
+ export default MDXComponent;
+ export const meta: Meta;
+ export const intro: string;
+}