typescript 在构建下一个js项目时显示类型错误

mwecs4sa  于 8个月前  发布在  TypeScript
关注(0)|答案(1)|浏览(70)

this is the errorhere is the build code
here is the development code
here is the inventory type code在构建下一个js项目后显示类型错误。
我希望删除此类型错误。因为在开发模式中没有这样的类型错误

oknwwptz

oknwwptz1#

首先替换:import as entry fromwithimport entry fromand 2ndly change thisfunction checkFields<T extends Diff<TEEntry,TEEntry>>(

相关问题