gpt4 book ai didi

angular - node_modules/@types/ramda/index.d.ts :373:64 - error TS1110: Type expected 中的错误

转载 作者:行者123 更新时间:2023-12-04 11:35:37 24 4
gpt4 key购买 nike

当我们运行我们的构建时,我们发现了以下错误

ERROR in node_modules/@types/ramda/index.d.ts:373:64 - error TS1110: Type expected.
373 (<S1 extends string, S2 extends string>(s1: S1, s2: S2) => `${S1}${S2}`);

最佳答案

在我们的 package.json 中,我们使用

"@types/ramda": "^0.27.32",
但是当我实际检查@types/ramda/package.json 时,它是 0.27.38
所以我回到项目中的 package.json 并设置
"@types/ramda": "0.27.32",
重新安装 node_modules
它回去

关于angular - node_modules/@types/ramda/index.d.ts :373:64 - error TS1110: Type expected 中的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66236983/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com