ts-toolbelt icon indicating copy to clipboard operation
ts-toolbelt copied to clipboard

Flexible export

Open danny-huang-openfind opened this issue 1 year ago • 0 comments

🍩 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.

danny-huang-openfind avatar Dec 25 '23 04:12 danny-huang-openfind