Skip to content

missing type for parse-git-diff on ESM ts file #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
onemen opened this issue May 22, 2023 · 3 comments · Fixed by #16
Closed

missing type for parse-git-diff on ESM ts file #15

onemen opened this issue May 22, 2023 · 3 comments · Fixed by #16
Labels
enhancement New feature or request

Comments

@onemen
Copy link

onemen commented May 22, 2023

When using import parseGitDiff from 'parse-git-diff' on .ts file in ESM project with "type": "module",

I get this error for parseGitDiff :

This expression is not callable.
  Type 'typeof import("c:/_____/node_modules/parse-git-diff/build/index")' has no call signatures.ts(2349)
@yeonjuan
Copy link
Owner

@onemen Thank you for your report. We'll take a look and fix it.

@yeonjuan yeonjuan added the enhancement New feature or request label May 23, 2023
@yeonjuan
Copy link
Owner

Hi, @onemen. It's support ESM project in v0.0.10. 👍

@onemen
Copy link
Author

onemen commented May 29, 2023

Thank you 👍👍👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants