3D Diagnostix interview question

In angular in general and TypeScript