Oops, should just be

```
topLevelEventsToDispatchConfig[topLevelType].dependencies = [topLevelType];
```

`topLevelEventsToDispatchConfig` really does give everything you need! it's a shame to write everything out twice.