During my experience with Typescript programming, I encountered a situation like the one described below.
If I pass an argument containing an object with the same name as the parameter defined in the function signature, Typescript recognizes it, but not otherwise.
What is this particular feature of Typescript known as? Could it also be considered a form of type inference?