Closed sfyblack closed 3 years ago
在 import { LargeList } from "react-native-largelist"; 的时候,VSCode提示 “...node_modules/react-native-largelist/index.d.ts”不是模块。
import { LargeList } from "react-native-largelist";
“...node_modules/react-native-largelist/index.d.ts”不是模块
把 declare module "react-native-largelist-v3" 后面的 -v3 去掉就正常了
declare module "react-native-largelist-v3"
-v3
Dev OS windows Target OS Android Simulator or real device? Simulator react-native:0.63.4 react-native-spring-scrollview:3.0.1-rc.5 react-native-largelist:3.1.0-rc.1
哦,搞忘了,这个一个修改就要改好多地方。稍不留意发布上去就有问题/。
已更新:3.1.0-rc.2
在
import { LargeList } from "react-native-largelist";
的时候,VSCode提示“...node_modules/react-native-largelist/index.d.ts”不是模块
。把
declare module "react-native-largelist-v3"
后面的-v3
去掉就正常了Dev OS windows Target OS Android Simulator or real device? Simulator react-native:0.63.4 react-native-spring-scrollview:3.0.1-rc.5 react-native-largelist:3.1.0-rc.1