我有一个包含全局值的类,我在typescript中声明它是静态的。它看起来是这样的: // All members should be public static - no instantiationoauth2/v2.0/token"
public static MS_GRAPH_SCOPE: "https:
我想创建一个Constructor类型,它接受一个类作为类型参数,并返回其构造函数的签名。在可以创建该类的实例而不是使用new ClassInstance(...)语句创建实例的类上定义静态属性make方法时,这将非常有用。/ Type 'Person' is missing the following properties from