export interface ActiveComponent { name ? : string ; componentName : string ; } let activeComponent = { componentName : '' , } ; export function setActiveComponent ( component ) { activeComponent = component ; } export function getActiveComponent ( ) { return activeComponent ; }