react-router-cache-route icon indicating copy to clipboard operation
react-router-cache-route copied to clipboard

ts2305: Module has no exported member

Open memorydrzjh opened this issue 4 years ago • 6 comments

react16、react-router5,正常install和引用,报ts2305: Module has no exported member,请问这个需要怎么解决?

memorydrzjh avatar Apr 08 '21 10:04 memorydrzjh

目前是如何使用 cache-route 的?

CJY0208 avatar Apr 09 '21 01:04 CJY0208

image

memorydrzjh avatar Apr 09 '21 02:04 memorydrzjh

image

memorydrzjh avatar Apr 09 '21 02:04 memorydrzjh

image

memorydrzjh avatar Apr 09 '21 02:04 memorydrzjh

node_modules/react-router-cache-route 路径中是否存在 index.d.ts 文件?没用过 webstorm,不太了解是不是编辑器的原因

CJY0208 avatar Apr 09 '21 02:04 CJY0208

是有的 image 用vscode也是一样的报错

memorydrzjh avatar Apr 09 '21 02:04 memorydrzjh