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

Could not find a declaration file for module '@editorjs/quote' #44

Closed
Ashish-3000 opened this issue Feb 1, 2022 · 2 comments
Closed

Comments

@Ashish-3000
Copy link

Ashish-3000 commented Feb 1, 2022

Try npm i --save-dev @types/editorjs__quote if it exists or add a new declaration (.d.ts) file containing declare module '@editorjs/quote';`
This error is showing for all editorjs files except header and editorjs.

Can you publish other npm packages for typescript

@rodriguezz4060
Copy link

rodriguezz4060 commented Apr 21, 2024

Create a listing file:
In the root of your project, create the editorjs.d.ts file and add the following content to it:

declare module '@editorjs/quote'

tsconfig.json

{ "include": [ "./editorjs.d.ts", // other files and folders to be included ], //other settings }

@neSpecc
Copy link
Contributor

neSpecc commented Aug 16, 2024

Resolved by #67

@neSpecc neSpecc closed this as completed Aug 16, 2024
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