Skip to content
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

This package has type errors #32

Open
kaiyoma opened this issue Mar 13, 2023 · 0 comments
Open

This package has type errors #32

kaiyoma opened this issue Mar 13, 2023 · 0 comments

Comments

@kaiyoma
Copy link

kaiyoma commented Mar 13, 2023

If I install this package and run the type checker, a couple errors are detected in the package itself:

node_modules/.pnpm/[email protected]/node_modules/gitdiff-parser/index.d.ts:53:16 - error TS2714: The expression of an export assignment must be an identifier or qualified name in an ambient context.

53 export default {
                  ~
54     parse(source: string): File[];
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 };
   ~

node_modules/.pnpm/[email protected]/node_modules/gitdiff-parser/index.d.ts:54:34 - error TS1005:
 '{' expected.

54     parse(source: string): File[];
                                    ~


Found 2 errors in the same file, starting at: node_modules/.pnpm/[email protected]/node_modules/gitdiff-parser/index.d.ts:53

There's a PR to fix this (#27) but it's been stale for 9 months for some reason. Can we get this fixed?

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

No branches or pull requests

1 participant