Typescript optimisation
I'm trying to optimise the generated types from the router, as I see that lots of types for context are being typed over and over instead of being made once and re-used, which influences total type to infer alot.
I managed to cut my total router dts from 1.5mb -> 840kb already (1.5mb being the tsc limit)
But I think we can do better
See attached image, the ctx object and transformers is present on every router
I managed to cut my total router dts from 1.5mb -> 840kb already (1.5mb being the tsc limit)
But I think we can do better
See attached image, the ctx object and transformers is present on every router
