Typescript - Is it possible to get a namespace from a class with the same name?

后端 未结 0 1190
轮回少年
轮回少年 2021-02-20 09:06
class Common {}
namespace Common {
  export class Thing {}
}

const instance = new Common();

Is it possible to somehow get the type of Thing from instan

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