Skip to content

Commit

Permalink
Import JSX to avoid tsc namespace error (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored Jun 24, 2024
1 parent 4a33420 commit 717c757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remdx/types.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { useMDXComponents } from '@mdx-js/react';
import type { CSSProperties, ReactNode } from 'react';
import type { CSSProperties, JSX, ReactNode } from 'react';

export type MDXComponents = Parameters<typeof useMDXComponents>[0];

Expand Down

0 comments on commit 717c757

Please sign in to comment.