Tips and tricks

How to transform typescript type into html documentation table
from this

to this

use this html for the table
use this regex
(?:\/\*\*)(.*?)(?:\*\/)[\n](.*?):(.*?)(,|;|$)
replace with
$2: $3 $1
demo – here
from this
to this
use this html for the table
use this regex
(?:\/\*\*)(.*?)(?:\*\/)[\n](.*?):(.*?)(,|;|$)
replace with
$2: $3 $1
demo – here