How to export property of a interface/Object like Javascript in TypeScript

前端 未结 0 1137
梦谈多话
梦谈多话 2021-02-15 12:22

As we known, the commonJS module\'s exports is a JS Object commonly. We can access the specific method easily like const { methodA } = require(\'module\').

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