emailjs icon indicating copy to clipboard operation
emailjs copied to clipboard

allow exactOptionalPropertyTypes in tsc 4.8.4

Open ritschwumm opened this issue 2 years ago • 2 comments

this leaves out the name property AddressObject instead of setting it to undefined.

typescript 4.4 has a new check exactOptionalPropertyTypes which prevents accidentally confounding a missing property with a property which does exist, but has a value of undefined.

for maximum type safety, i'd like to keep this enabled in my project - but if i do, tsc complains about emailjs being imprecise about its types.

ritschwumm avatar Oct 11 '22 11:10 ritschwumm

ping?

ritschwumm avatar Nov 07 '22 12:11 ritschwumm

PING?

ritschwumm avatar Mar 19 '23 14:03 ritschwumm