self, x: usize) -> Result<usize, f32> { }编译器给出了以下错误E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements |
note: first, the lifetim
translation not attempted yet其中,如果props被定义为IReactProps,则.spread可以工作,但两种可能的let value lines都不能编译或者props被定义为obj,它说‘这个表达式应该有类型'obj’,但这里有类型''a -> obj‘’let isfuncOrNullPropType (propspropName使用"fable-core&qu