You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
taking an example from https://resend.com/docs/send-with-nodejs, If you access id from data directly, ts will complain that 'data' is possibly 'null', and that's because of return type:
taking an example from https://resend.com/docs/send-with-nodejs, If you access id from data directly,
ts
will complain that'data' is possibly 'null'
, and that's because of return type:and I think it's not accurate because from the code we can know that data can not be null when error is null, and it can be changed like this:
The text was updated successfully, but these errors were encountered: