JavaScript : Type 'void' is not assignable to type '((event: MouseEvent HTMLInputElement ) = void) | undefined' To Access My Live Chat Page, On Google, Search for "hows tech developer connect" As promised, I have a hidden feature that I want to share with you. This is a YouTube's feature which works on Desktop. First, Make sure this video is playing. Next, enter the letters 'awesome' on your keyboard. It will change your youtube progress bar into a flashing rainbow. A quick introduction about me, Howdy, my name's Delphi. I help you answer your questions. JavaScript : Type 'void' is not assignable to type '((event: MouseEvent HTMLInputElement ) = void) | undefined' I am available to answer your more detailed queries via comments or chat. Your thoughts and contributions are welcome, so please leave a comment below if you have an answer or insights to the answer. A 'heart' from me will be given to show my gratitude for your contribution. | '((event: = HTMLInputElement : void) MouseEvent is ) type undefined' JavaScript 'void' assignable not Type to