#typescript question: https://jsfiddle.net/s14st9dm/
How can I make myProp2 have the default value if I don't supply it in the
argument object?
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
#typescript question: https://jsfiddle.net/s14st9dm/
How can I make myProp2 have the default value if I don't supply it in the
argument object?
Or what is the best and most readable practice for defining defaults for
constructors that accept options objects?