Typescript Onclick With Html Button Types Css