Implement JS type for user bar