Skip to content
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

Changing "module.exports" by "export default" #5

Merged
merged 1 commit into from Jun 23, 2022

Conversation

AndresSepar
Copy link
Contributor

The export default solve this issue:
Could not find a declaration file for module 'vite-plugin-remove-console'. './node_modules/vite-plugin-remove-console/dist/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/vite-plugin-remove-console if it exists or add a new declaration (.d.ts) file containing declare module 'vite-plugin-remove-console';ts(7016)

The `export default` solve this issue:
Could not find a declaration file for module 'vite-plugin-remove-console'. './node_modules/vite-plugin-remove-console/dist/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/vite-plugin-remove-console` if it exists or add a new declaration (.d.ts) file containing `declare module 'vite-plugin-remove-console';`ts(7016)
@xiaoxian521
Copy link
Owner

thanks😊

@xiaoxian521 xiaoxian521 merged commit f8f49a7 into xiaoxian521:main Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants