jeudi 25 octobre 2018

is there a way to get all required properties of a typescript object

is there a way to get all required properties of a typescript interface or an object. something like Object.getOwnPropertyDescriptors(myObject) or keyof T but with the information property is required/optional





Aucun commentaire:

Enregistrer un commentaire