确认你的文件后缀是tsx
而不是ts
这个错误很是离谱,花了很长时间,结果是这里出错了。。。。
https://stackoverflow.com/questions/62059408/reactjs-and-typescript-refers-to-a-value-but-is-being-used-as-a-type-here-ts
确认你的文件后缀是tsx
而不是ts
这个错误很是离谱,花了很长时间,结果是这里出错了。。。。
https://stackoverflow.com/questions/62059408/reactjs-and-typescript-refers-to-a-value-but-is-being-used-as-a-type-here-ts