quote icon indicating copy to clipboard operation
quote copied to clipboard

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

Open Ashish-3000 opened this issue 4 years ago • 1 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

Ashish-3000 avatar Feb 01 '22 04:02 Ashish-3000

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 }

rodriguezz4060 avatar Apr 21 '24 07:04 rodriguezz4060

Resolved by #67

neSpecc avatar Aug 16 '24 16:08 neSpecc