node-gitlog icon indicating copy to clipboard operation
node-gitlog copied to clipboard

ReturnType of `CommitBaseWithFiles` incorrect

Open ninesunsabiu opened this issue 2 years ago • 0 comments

https://github.com/domharrington/node-gitlog/blob/617373ef33158760cd4b5d3d4b4a4e3b887448fe/src/index.ts#L312-L315

the type of CommitBaseWithFiles['status'] is string, but it is Array<string> in fact.

https://github.com/domharrington/node-gitlog/blob/617373ef33158760cd4b5d3d4b4a4e3b887448fe/src/index.ts#L209-L214

The code here proves this as well

ninesunsabiu avatar Jun 23 '22 13:06 ninesunsabiu