How to define type of a global variable in a library based on its configuration variables?

后端 未结 0 2080
無奈伤痛
無奈伤痛 2020-11-22 00:59

I am trying to write a library that defines some variable in the global scope. So in Typescript, I can use declare global to provide the type for that global va

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