A doubt about [12 - chainable options] test case #20213
Unanswered
pengzhanbo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在 Chainable Options 这个题目,给出的测试用例中,对于
result3
这个测试用例:在实际的答题过程中,比如我给出的回答是:
在这里, 对
option(key, value)
的value
参数的类型,是符合result3
代码中@ts-expect-error
这个注释的,也就是说,泛型T
的实例对象中,name
被确定为string
,而这就与Expected3
中的name
为number
不一致。这里的 属性
name
的类型不一致, 是符合这个题目的预期设计的吗?Beta Was this translation helpful? Give feedback.
All reactions