Skip to content

Export types from the index.ts file? #95

@dabbott

Description

@dabbott

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions