I have an component in Angular:
export class StudentsComponent implements OnInit, OnDestroy {
}
In another component I tried to display name of class StudentsComponent preliminarily imported StudentsComponent:
console.log(StudentsComponent.constructor.name);
Why it gives me in console Function instead StudentsComponent?