Skip to content

Commit

Permalink
Typings: Allow arbitrary renderer types (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho authored and rexxars committed Jan 4, 2019
1 parent 7c5e18e commit 60e8d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ declare namespace ReactMarkdown {
readonly transformLinkUri?: (uri: string, children?: ReactNode, title?: string) => string
readonly transformImageUri?: (uri: string, children?: ReactNode, title?: string, alt?: string) => string
readonly unwrapDisallowed?: boolean
readonly renderers?: {[nodeType in NodeType]?: ReactType}
readonly renderers?: {[nodeType: string]: ReactType}
readonly astPlugins?: MdastPlugin[]
readonly plugins?: any[] | (() => void)
}
Expand Down

0 comments on commit 60e8d2a

Please sign in to comment.