Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible export #340

Open
danny-huang-openfind opened this issue Dec 25, 2023 · 0 comments
Open

Flexible export #340

danny-huang-openfind opened this issue Dec 25, 2023 · 0 comments

Comments

@danny-huang-openfind
Copy link

馃崺 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant