jsr icon indicating copy to clipboard operation
jsr copied to clipboard

Score for "Has docs for most symbols" is wrong when an export has overloads

Open lowlighter opened this issue 1 year ago • 0 comments

If a symbol has overloads, then only the first one count as being documented so it lower the score

I've confirmed this is the case by publishing two releases of a package, one without overloads and one with them, and it changes the score. image image

This package has only one export, and with 4 overloads it reports "Currently 25% of symbols are documented.". 100/4 = 25 (this is actually how I discovered the issue)

lowlighter avatar May 02 '24 06:05 lowlighter