* Reuse empty string & space string logic for event types in devtools * Fix edge case behaviours * Make tsc quality higher * Make remainder of tsc happy