commit-analyzer icon indicating copy to clipboard operation
commit-analyzer copied to clipboard

Incorrect JSDoc Type

Open GravlLift opened this issue 3 years ago • 1 comments

The return type of analyzeCommits is declared as String|null in the JSDoc header. However, analyzeCommits is an async function. Return type should be Promise<String|null> instead.

https://github.com/semantic-release/commit-analyzer/blob/685f65ad82eae5e6d627b5812d4031c2a63f02aa/index.js#L12-L26

GravlLift avatar Nov 14 '22 21:11 GravlLift

@GravlLift any PR for it?

SalahAdDin avatar Mar 19 '24 17:03 SalahAdDin