The TypeScript function overload syntax is confusing.
function yo(arg: string): string;
function yo(arg: number): number;
function yo(arg: null) {
return null;
}
What the hell is this? This doesn't feel right. Yeah, the JavaScript gets only the final implementation. But it seems like you make multiple assignments. It's just something I think about every time I need to overload a function.
