fix(jsx): make merged context-isolation tests pass tsc type check (#5037)