TypeScript · Real-world situation · Intermediate
A confusing excess property error
A teammate is confused because passing an object literal causes an error, but passing the same object through a variable doesn't. How do you explain and resolve it?
2:00