lucky-canvas icon indicating copy to clipboard operation
lucky-canvas copied to clipboard

react 18 import error

Open TycheGames opened this issue 1 year ago • 0 comments

  • 你当前是什么框架(必填):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)
  • 问题代码(重要):
// 代码开始, 别再放歪了行吗

// 代码结束

TycheGames avatar Jan 15 '24 09:01 TycheGames