ts-toolbelt
ts-toolbelt copied to clipboard
Flexible export
🍩 Feature Request
Is your feature request related to a problem?
Not really a problem, but I want a more flexible export statement when I only want to import one thing.
Describe the solution you'd like
As for example, if I want to export Nullable, which is below Union, I have to write:
import { Nullable } from 'ts-toolbelt/out/Union/Nullable'
That 'out' folder and repeated 'Nullable' is kinda annoying to me.
I would like to have a more clean solution, maybe like:
import { Nullable } from ts-toolbelt/Union
Describe alternatives you've considered
I dont think there is one.