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

Typescript declaration error while importing quill-mention #348

Closed
dgraceli opened this issue Oct 25, 2023 · 1 comment · Fixed by #369
Closed

Typescript declaration error while importing quill-mention #348

dgraceli opened this issue Oct 25, 2023 · 1 comment · Fixed by #369
Labels
enhancement New feature or request

Comments

@dgraceli
Copy link

dgraceli commented Oct 25, 2023

  1. After installing quill-mention using the 'npm install quill-mention' command, in NextJs project.
  2. When I import quill-mention, getting this error "Could not find a declaration file for module 'quill-mention'. 'c:/../../../../quill_mention_spike/node_modules/quill-mention/dist/quill.mention.csj.js' implicitly has an 'any' type.
    Try npm i --save-dev @types/quill-mention if it exists or add a new declaration (.d.ts) file containing declare module 'quill-mention';ts(7016)"
    Below is the image of the issue:
    b563fa93-1e75-4d48-8e59-4330b6d6bbd4
@csculley
Copy link
Collaborator

We don't currently have typescript types defined for quill-mentions, but that would be a fun enhancement to add!

@csculley csculley assigned csculley and unassigned csculley Mar 12, 2024
@csculley csculley added the enhancement New feature or request label Mar 12, 2024
@csculley csculley linked a pull request Apr 30, 2024 that will close this issue
@csculley csculley changed the title Getting declaration error while importing quill-mention Typescript declaration error while importing quill-mention Apr 30, 2024
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