git-last-commit
git-last-commit copied to clipboard
"Expected 1 arguments, but got 2." error when trying to define a custom repo location
I am using this repository in a TypeScript project, but I get the following error when trying to define a custom repository location: Expected 1 arguments, but got 2.ts(2554)
. I am using the code snippet defined in the README that describes how to define a custom repository location.
Which line results in error?
Line 6 in the second usage example gives an error when I try to define a custom repository location
@seymen Hi is there any chance to fix this problem?
I want to define custom repo location and it's not working, I'm using TypeScript. d.ts seems to be out of date
Hi @Spotlightsrule and @seymen I opened a pull request to address this issue https://github.com/seymen/git-last-commit/pull/26 , can you take a look? 👀