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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export types from the index.ts file? #95

Open
dabbott opened this issue May 6, 2020 · 1 comment
Open

Export types from the index.ts file? #95

dabbott opened this issue May 6, 2020 · 1 comment

Comments

@dabbott
Copy link
Contributor

dabbott commented May 6, 2020

I'm currently importing types, e.g. ParamNames, from nested files in the npm package, e.g. freemarker-parser/enum/ParamNames. This works, but it can be a bit of a hassle to hunt down the type I need.

It would be really convenient if I could import node/enum/param types directly from root. E.g. import { ConditionNode, CallExpression, ParamNames } from 'freemarker-parser'.

What do you think?

@armano2
Copy link
Owner

armano2 commented Dec 14, 2020

its actually great idea 👍

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

2 participants