fix(react-compiler): preserve TypeScript function overload signatures (#12115)