You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error TS7016: Could not find a declaration file for module 'material-ui-banner'. 'node_modules/material-ui-banner/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/material-ui-banner` if it exists or add a new declaration (.d.ts) file containing `declare module 'material-ui-banner';`
The text was updated successfully, but these errors were encountered:
Hi @flyrev thanks for the issue. I'm not particularly well versed in Typescript for the front-end, but I'd be happy to accept a merge request from an enterprising individual that was willing to write a d.ts file for the project.
Would you be interested in a Typescript rewrite instead? I'm willing to convert the files; I don't think that much would even need to change. You're using ES6 imports, webpack, etc. Having a separate .d.ts file would probably require more code, and you'd have to maintain it with any future updates.
Using this in a React+TypeScript project, I get
The text was updated successfully, but these errors were encountered: