Typescript function return class cannot define private member – Javascript
I wonder why I cannot define private members for my returned class that is generated with the below function. Does anyone know why it could not be private and protected? I saw this code somewhere but in his VS code…