-
Notifications
You must be signed in to change notification settings - Fork 130
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
"fast-diff/diff has no default export" error #33
Comments
import diff from 'fast-diff'; |
I have the same error when I try to |
file: node_modules\fast-diff\diff.d.ts (line number 20) |
The simplest way to fix this issue is to set the compilerOption The modules fast-diff and quill-delta are exported using Using Babel, you can then write We could change Delta.ts to say |
@dgreensp What a nice answer, it solved the issue. Thanks :) |
@dgreensp This is not working for me. I turned on this option, this is my
I still get the error:
My Typescript version is |
I'm having the same problem, and esModuleInterop didn't work. Had to remove @types/quill for now because it caused build to fail. |
I'm on
Works fine, but when I update |
I was able to make the error go away by editing the
Add either of the above lines inside the |
for anyone coming through this problem, i believe the actual solution is not to mess with the compiler options but just to be careful with dependencies versions. juste use a @type/quill v1.x and everything will be all right ;) |
I have an Angular app which started to give
"fast-diff/diff has no default export"
error upon build after I've updated my dependencies.I post it here because Error message begins with:
Please check.
UPDATE
I removed @types/quill from dependencies, now I don't get error and build does not fail.
The text was updated successfully, but these errors were encountered: