Let\'s say I have
class MyType { property1?: string, property2?: string }
which all the properties are OPTIONAL.
How can I get an