In TypeScript, an extra line is added to the JS code using the export class which is then used to add an exported item within a module.

BY Best Interview Question ON 25 Jul 2020