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

react 18 import error #459

Open
TycheGames opened this issue Jan 15, 2024 · 0 comments
Open

react 18 import error #459

TycheGames opened this issue Jan 15, 2024 · 0 comments

Comments

@TycheGames
Copy link

  • 你当前是什么框架(必填):react
  • 你使用的是哪个包(必填):
  • 你当前插件的版本(必填):
  • 当前环境是小程序还是浏览器(选填):
  • 详细描述你的bug:
  • 'LuckyWheel' is declared but its value is never read.ts(6133)
    Could not find a declaration file for module '@lucky-canvas/react'. '/Users/meta/ionic/react-test-app/node_modules/@lucky-canvas/react/dist/index.cjs.js' implicitly has an 'any' type.
    Try npm i --save-dev @types/lucky-canvas__react if it exists or add a new declaration (.d.ts) file containing declare module '@lucky-canvas/react';ts(7016)
  • 问题代码(重要):
// 代码开始, 别再放歪了行吗

// 代码结束
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant