It's not. Unless you have a strict typing on the function in TS, you can't know if you're typing the right member.
This is actually one of the thing in PHP I like more than TS.
It takes no effort to provide meaningful names to parameters from the caller.
It's not. Unless you have a strict typing on the function in TS, you can't know if you're typing the right member.
This is actually one of the thing in PHP I like more than TS.
It takes no effort to provide meaningful names to parameters from the caller.