freemarker-parser icon indicating copy to clipboard operation
freemarker-parser copied to clipboard

Export types from the index.ts file?

Open dabbott opened this issue 5 years ago • 1 comments

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?

dabbott avatar May 06 '20 18:05 dabbott

its actually great idea 👍

armano2 avatar Dec 14 '20 22:12 armano2