Skip to content

Commit

Permalink
address type error
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Jul 10, 2024
1 parent ae54f77 commit c73fc27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"**/*.tsx",
".next/types/**/*.ts",
"**/*.d.ts",
"../mdx.d.ts"
"types/**/*.d.ts"
],
"exclude": ["node_modules"]
}
4 changes: 4 additions & 0 deletions types/mdx.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.mdx' {
let MDXComponent: (props: any) => JSX.Element;
export default MDXComponent;
}

0 comments on commit c73fc27

Please sign in to comment.