astPlugin type definition in react-markdown/index.d.ts is wrong...or I don't understand #591
-
Sorry please correct me if I am wrong but is this line correct? https://github.com/remarkjs/react-markdown/blob/main/index.d.ts#L46 readonly astPlugins?: PluggableList // This is closer to a 'Transformer'?
readonly plugins?: PluggableList I just updated the version and the astPlugin part showing type error. Can anyone please answer?? |
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Dec 24, 2020
Replies: 1 comment 5 replies
-
Maybe? |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe?
Can you provide an example where the JavaScript runs as expected but TypeScript throws type errors?