Skip to content

Commit

Permalink
add mdx.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Nov 17, 2024
1 parent c8591f9 commit dac85aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions www/src/mdx.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
declare module '*.mdx' {
import type { ComponentProps, ReactNode } from 'react'
import { MDXProps } from 'mdx/types'

export * from 'mdx/types'

export default function MDXContent(props: MDXProps): ReactNode

export const frontmatter: Record<string, unknown>
}

0 comments on commit dac85aa

Please sign in to comment.