Closed onemen closed 1 year ago
When using import parseGitDiff from 'parse-git-diff' on .ts file in ESM project with "type": "module",
import parseGitDiff from 'parse-git-diff'
"type": "module"
I get this error for parseGitDiff:
parseGitDiff
This expression is not callable. Type 'typeof import("c:/_____/node_modules/parse-git-diff/build/index")' has no call signatures.ts(2349)
@onemen Thank you for your report. We'll take a look and fix it.
Hi, @onemen. It's support ESM project in v0.0.10. 👍
v0.0.10
Thank you 👍👍👍
When using
import parseGitDiff from 'parse-git-diff'
on .ts file in ESM project with"type": "module"
,I get this error for
parseGitDiff
: