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

typeof diff_match_patch issue #75

Open
sxt90128 opened this issue Feb 2, 2024 · 1 comment
Open

typeof diff_match_patch issue #75

sxt90128 opened this issue Feb 2, 2024 · 1 comment

Comments

@sxt90128
Copy link

sxt90128 commented Feb 2, 2024

I installed with npm i ngx-text-diff --legacy-peer-deps and "diff-match-patch": "^1.0.4", I got an error when app build as:

Error: node_modules/ngx-text-diff/lib/ngx-text-diff.service.d.ts:5:17 - error TS2749: 'diff_match_patch' refers to a value, but is being used as a type here. Did you mean 'typeof diff_match_patch'?
diffParser: diff_match_patch;

Is that a version issue, I used Angular13.

@abinthaha
Copy link

@sxt90128 , @ABenassi87 , @paustint .. Am facing the same issue with Angular v14. Can you share if you were able to find any fixes.

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

2 participants