Assignment of “null” type inferred as “any”

后端 未结 0 784
感动是毒
感动是毒 2020-12-13 16:12

I\'m seeing a lack of type error reporting with a function parameter:

private _toggle(updates: I_Type | null) {
  const should_toggle = this.thing &&          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题