Since few versions the same applies to intersections of arrays and tuples (all members have to be arrays/tuples to get some special treatment). Not that u should have intersections of arrays/tuples though ;p
ESLint, Prettier, the TS LSP, etc. are going bananas on huge files :p GH won't even display it. Splitting eases the work on the IDE.
It's more about DX, I admit ^^.
I think to some extent the reasons are historical - it was written using legacy TS modules/namespaces and it wouldnt be great for perf if things would incur property lookup costs all over the place. Since then the codebase has been migrated to use ES modules though
Comments
It's more about DX, I admit ^^.