This message was deleted.
# general
s
This message was deleted.
f
Compilation fails with
TS2532: Object is possibly 'undefined'.
if I remove the
null
check.
strictNullChecks
is set to
true
.
w
Ahh - I see - it's possible for this
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.
f
Indeed it does. Thanks 🙂