'Disable object validation TS

Is it possible to disable the check for the presence of keys in an object and its nested objects so as not to get errors if they are not there, but at the same time leave hints for those that are? P.s I understand that in most cases this is not correct and not acceptable, but in my case there is no other way out, this is exactly what I need.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source