editor-js / quote

Quote Tool for Editor.js 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Ashish-3000 opened this issue · comments

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

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 }