I'd like to get class name without instance. But it does not work well. Here is my test code.
class User {
id!:number;
name!:string
}
//It should use object type. Not used User type directly.
const run = (o:object) => {
console.log(o.constructor.name);
}
run(User);
//It printed as Function.
//But, I'd like to class name(aka, User) without instance(new User)
How can I do?