iamacup / react-native-markdown-display

React Native 100% compatible CommonMark renderer
MIT License
607 stars 173 forks source link

Incorrect types: sourceInfo missing from ASTNode #206

Open isaachinman opened 9 months ago

isaachinman commented 9 months ago

Just discovered that the ASTNode type is missing the sourceInfo property. I am currently using this property for code lang detection in code fences.

https://github.com/iamacup/react-native-markdown-display/blob/master/src/index.d.ts#L52

I assume sourceInfo is an optional string. Let me know if you want a PR.