TypeScript class implements interface

前端 未结 0 1316

Why can the following code be complied correctly, rather than the compiler raising an error Type \'() => number\' is not assignable to type \'() => void\'.

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