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

vite build error #38

Open
kulame opened this issue Sep 14, 2022 · 2 comments
Open

vite build error #38

kulame opened this issue Sep 14, 2022 · 2 comments

Comments

@kulame
Copy link

kulame commented Sep 14, 2022

i try to build with vite
it show error log

➜  faceadmin git:(mr/master/richeditor) ✗ pnpm build

> faceadmin@0.0.0 build /srv/project/faceadmin
> tsc && vite build

src/page/article.tsx:20:27 - error TS7016: Could not find a declaration file for module 'quill-image-compress'. '/srv/project/faceadmin/node_modules/.pnpm/quill-image-compress@1.2.26/node_modules/quill-image-compress/dist/quill.imageCompressor.min.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/quill-image-compress` if it exists or add a new declaration (.d.ts) file containing `declare module 'quill-image-compress';`

20 import ImageCompress from "quill-image-compress";
                             ~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in src/page/article.tsx:20

version:

"quill-image-compress": "^1.2.26",

does quill-image-compress v1.2.26 support typescript?

@chpio
Copy link

chpio commented Feb 8, 2023

no it does not, see #30

benwinding added a commit that referenced this issue Feb 8, 2023
@benwinding
Copy link
Owner

Try version quill-image-compress@1.2.28 thanks @chpio

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

3 participants