typescript

Total Posts: 1

Destructure Optional Params in Typescript

06 May, 2021 2:15 PM

Sometimes you have a function with an optional Object argument that you want to destructure in the function. Like so: However you'll get an…

matt@codegregg.com