Create typescript to set active menu item