Closed chris-pieri closed 6 months ago
Defaults values now exposed in table. Both of the following will work in 4.0.0-next.56
:
prop = 'propValue'
/**
* @defaultValue 'propValue'
* /
prop: string
Thanks for making the update it's working now!
One nit picky thing, it looks like the <br />
tags are still being added in the description cell for the rows that have a default value (tested on version 4.0.0-next.60
).
Sorry, I tried uploading images but my work laptop won't allow it 🤦♂️.
@chris-pieri Thanks. Just to confirm you mean the extra space below the description?
Yes exactly, thanks
fixed in typedoc-plugin-markdown@4.0.1
Thank you looks great ! Congrats on 4.0 🎉
Hello 👋,
I'm using version:
4.0.0-next.55
I am able to render a table for my interface with the following headers Property, Type, Description.
Currently any property with a Default Value gets added on a new line in the description cell. Is it possible to instead add a Default Value header in between Type and Description?