regischen / CKEditor5-CodeBlock-With-Syntax-Highlight

Real-time syntax highlighting based on the official CKEditor5-code-block
Other
18 stars 3 forks source link

Could not find a declaration file when using in TypeScript #5

Open guoapeng opened 2 months ago

guoapeng commented 2 months ago

Could not find a declaration file for module 'ckeditor5-codeblock-with-syntax-highlight/src/codeblock'. '/home/eagle/proj/philoenglish/ckeditor5/node_modules/ckeditor5-codeblock-with-syntax-highlight/src/codeblock.js' implicitly has an 'any' type. Try npm i --save-dev @types/ckeditor5-codeblock-with-syntax-highlight if it exists or add a new declaration (.d.ts) file containing declare module 'ckeditor5-codeblock-with-syntax-highlight/src/codeblock';