Returning a Symbol in TypeScript

前端 未结 0 1707
有刺的猬
有刺的猬 2021-01-28 18:11

The following example contains a function factory that returns a Symbol of type Bob. However, TypeScript seems to immediately forget the type of the re

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