speedcontrol / nodecg-speedcontrol

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.
MIT License
45 stars 34 forks source link

Make null/undefined usage consistent #62

Closed zoton2 closed 5 years ago

zoton2 commented 5 years ago

For example, in some typings, runDataActiveRun can be null, but in some places it's made undefined. This needs some consistency.

zoton2 commented 5 years ago

Tweaked in dev branch. The auto-generated typing from the schema for runDataActiveRun is bad as I can't find a way to make it also be undefined, but the manual one is OK; the schema has no issues verifying the actual replicant though.