首页
技术日记
编程
旅游
登录
标签
refers
见鬼,TSC 编译 TS 文件出现了‘React‘ refers to a UMD global, but the current file is a module. Consider adding
这个错误是 TypeScript 编译器提示的。 解决办法 在 tsconfig 文件中配置 jsx: react-jsx 即可 {"compilerOptions": { ..."jsx"
出现了
文件
React
refers
ts
admin
3月前
6
0