Question:
What issue does TypeScript's excess property checking address?
Author: Kate WAnswer:
Throws an error when using an object literal that has a property that does not exist in the type that the function expects, meaning there's no way to safely access the property later on.
0 / 5 Â (0 ratings)
1 answer(s) in total