Defining this Parameter Types
function handleToggle(this: HTMLElement) {
this.classList.toggle("clicked");
}
type ToggleFn = typeof handleToggle;
// (this: HTMLElement) => void
type WithoutThis = OmitThisParameter<ToggleFn>
// () = > void
type ToggleFnThis = ThisParameterType<ToggleFn>
// HTMLElement