: Person) {}
getAge({age: 16, classes: '5-4'}) // ok
getAge({age: 20, salary: 1000, classes: '5-4'}) // Should be error but type checker success如何编写函数签名以防止getAge({age: 20,
输入数据可以如下所示:sprd-spipe: spipe 5-4 not ready to open!sprd-spipe: spipe 5-4 not ready to open!sprd-spipe: spipe 5-4 not ready to open!sprd-spipe: spipe 5-4 not ready to open!sprd-
我只是想创建一个定制的Formik <Field />。它是一个带有opacity=0的opacity=0,并依赖于values i为我的<Error />组件和<input type = text />设置样式。values.photo没事。问题是,触摸永远不会成为现实,所以我无法显示我的<Error />组件。你能解释一下哪里出了问题吗?