采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
老师,JSX.Element 这里报找不到JSX命名空间?这个什么情况?怎么你没报错啊?
```json { "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", "plugins": [ { "name": "typescript-plugin-css-modules" } ] }, "include": [ "src" ] } ```
登录后可查看更多问答,登录/注册
React18 精讲 + 结合 TS 实战 + 热门业务开发,获取必备技能
800 5
993 10
810 2
2.0k 2
929 1
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号