Skip to content

is there a way to export more than one module per npm package via typings? #5804

@zpdDG4gta8XKpMCd

Description

@zpdDG4gta8XKpMCd

According to typings for npm packages there can be a file specified in the "typings" property or an index.d.ts which implies that there can only be a single typescript module (javascript file + declaration file) per npm package.

Is there a way to export typings for more than one module per npm package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions