Sobes.tech
Middle+

Write a typed addition function: when passing two numbers, it returns a number; when passing two strings, it returns a string; and mixed pairs of number and string should trigger a TypeScript error.