migtools / crane-ui-plugin

OpenShift Dynamic Plugin for Crane UI
1 stars 11 forks source link

Enable TypeScript strict mode, satisfy strict null check errors #44

Closed mturley closed 2 years ago

mturley commented 2 years ago

I noticed some weirdness around null/undefined values when developing that would have been caught sooner had I enabled TypeScript's strict mode. This PR enables that mode and addresses all resulting errors by adding null checks where necessary.