How to create a type for a class in typescript with all private Methods and properties public

前端 未结 0 1571
渐次进展
渐次进展 2021-01-20 10:39

I want to create a type for a typescript class with all private properties and methods set public. For the class

class C {
    public a: number = 1;
    priva         


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