We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
环境: "@hi-ui/classic-theme": "^4.1.0" "@hi-ui/hiui": "^4.3.0" "react": "^18.2.0" typescript": "^4.4.2
node:16.15.1
问题: create-react-app ts 创建出来的项目无法引入Theme 无法找到模块“@hi-ui/classic-theme”的声明文件。“c:/Code/Hycean/node_modules/@hi-ui/classic-theme/lib/index.js”隐式拥有 "any" 类型。 尝试使用 npm i --save-dev @types/hi-ui__classic-theme (如果存在),或者添加一个包含 declare module '@hi-ui/classic-theme'; 的新声明(.d.ts)文件ts(7016)
npm i --save-dev @types/hi-ui__classic-theme
declare module '@hi-ui/classic-theme';
The text was updated successfully, but these errors were encountered:
该组件是基于js编写,目前没有类型定义文件
Sorry, something went wrong.
No branches or pull requests
环境:
"@hi-ui/classic-theme": "^4.1.0"
"@hi-ui/hiui": "^4.3.0"
"react": "^18.2.0"
typescript": "^4.4.2
node:16.15.1
问题:
create-react-app ts 创建出来的项目无法引入Theme
无法找到模块“@hi-ui/classic-theme”的声明文件。“c:/Code/Hycean/node_modules/@hi-ui/classic-theme/lib/index.js”隐式拥有 "any" 类型。
尝试使用
npm i --save-dev @types/hi-ui__classic-theme
(如果存在),或者添加一个包含declare module '@hi-ui/classic-theme';
的新声明(.d.ts)文件ts(7016)The text was updated successfully, but these errors were encountered: