Could something similar to this scenario be achievable?
const dynamicPropName = "x";
class A {
static propName = 1
// equivalent to static x = 1
}
A[dynamicPropName] // will result in 1
or would it need to be accessed as (typeof A)[dynamicPropName]
instead?
It is important to note that this query is distinct and not a replication of the content discussed in this question