Skip to content

Commit

Permalink
Add null to possible types for wrapper. (#380)
Browse files Browse the repository at this point in the history
This is already described in documentation, so does not require any
further changes.

Co-authored-by: mjfwebb <[email protected]>
  • Loading branch information
mjfwebb and mjfwebb authored Mar 10, 2021
1 parent efab8c3 commit 1af986c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export namespace MarkdownToJSX {
* without any wrapper, or use `React.Fragment` to get a React element
* that won't show up in the DOM.
*/
wrapper: React.ElementType
wrapper: React.ElementType | null

/**
* Forces the compiler to wrap results, even if there is only a single
Expand Down

0 comments on commit 1af986c

Please sign in to comment.