Skip to content

Commit

Permalink
fix: TS definition of the hydrate function
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Arseneault authored and jescalan committed Dec 27, 2020
1 parent 5958c05 commit 1404ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export default function hydrate(
*
* For example: `{ ComponentName: Component }` will be accessible in the MDX as `<ComponentName/>`.
*/
options: { components: MdxRemote.Components }
options?: { components?: MdxRemote.Components }
): ReactNode

0 comments on commit 1404ff5

Please sign in to comment.