Add a warning to the prune function
The TS allows you to pass arguments with an extended type. As a result, the shape of the object changes but its type does not.
This cannot be fixed at the moment.
https://stackoverflow.com/questions/76490186/use-type-parameters-with-exact-type-instead-of-extending
Therefore, I suggest adding a warning about this.
If you wanna add @warning JSDocTag description, you can do it with PR.
You can also add a compile-time check that will generate ts warnings.
You are meaning that generate compiler level warning message whenever calling typia.misc.prune<T>() functions?
I don't want that.
Not every time, but when necessary, when a generic is passed and it is not equal to the type of the argument.