-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
❓module declaration error. #2143
Labels
Comments
you can add @ts-ignore comment above import |
// ./types/types.d.ts
declare module "@editorjs/header" // tsconfig.json
{
// ...
"typeRoots": ["./node_modules/@types", "./types"]
} |
Same problem, except for list (was able to manually install typing for the Header). I know I can ignore (or mock) it, but it would be nice to actually have that type info. Is that coming? |
it worked for me thanks |
This was referenced Jan 14, 2024
worked for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could not find a declaration file for module '@editorjs/Header'. 'D:/wap/ANGULAR/editorjs/node_modules/@editorjs/header/dist/bundle.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/editorjs__header
if it exists or add a new declaration (.d.ts) file containingdeclare module '@editorjs/Header';
ts(7016)While I tried to build using
ng build
I found this error. How to solve this problem in angular?The text was updated successfully, but these errors were encountered: