white-balloon-205
null
in that code - the callback should only run when the networkConfiguration
is available. Were you seeing otherwise?full-dress-10026
09/25/2018, 5:20 PMTS2532: Object is possibly 'undefined'.
if I remove the null
check.strictNullChecks
is set to true
.white-balloon-205
networkConfiguration
to be missing from a valid ECS Service, so it can indeed be undefined
. Nice that strictNullChecks
catches this. You should be able to add back that check in a variant like what I shared as well if that looks simpler to you.full-dress-10026
09/25/2018, 5:44 PM