In a TypeScript class, is there a clean way to deal with values that are initially undefined?

前端 未结 0 1371
广开言路
广开言路 2021-02-04 17:47

Imagine a Connection class that is instantiated with a password, which it uses to obtain a token from a server. So

  • this.password is always
相关标签:
回答
  • 消灭零回复
提交回复
热议问题