You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the late reply. Yes that would totally be possible, would you be up for creating a PR?
Sidenote: I'm not super happy with the types, because they do not really represent the result 100%, the types are only accurate if all react-docgen handlers are active, as soon as one is not enabled or a custom handler is added the type might not match up anymore. I thought about every handler coming with their own type, but the whole composition in the end I couldn't get to work and is probably slow.
We are using react-docgen to parse TypeScript component files and display their props and types in a documentation app. Our issue is that typing our parser code is not possible since these types are not exported. Would it be possible to expose more types? Heres our code: https://github.com/instructure/instructure-ui/blob/56c7c38e3f360b7110a720a7268b770c916e1500/packages/__docs__/buildScripts/DataTypes.mts#L89C1-L89C1
We'd like that these types are exported at least:
So basically the types used by the
Documentation
type. Thanks!The text was updated successfully, but these errors were encountered: