Skip to content

Provide an output group for ts_project that contains DeclarationInfo #1978

@longlho

Description

@longlho

🚀 feature request

Relevant Rules

ts_project

Description

Right now there are tooling like @microsoft/api-extractor that bundles type definitions into a single d.ts (kinda like rollup for d.ts). However, ts_project doesn't not export its type definitions so it'd be great if it does that either by default or an output group.

I'm probably looking for type definitions to be included in DefaultInfo otherwise I don't think npm_package_bin can read it as data?

Describe the solution you'd like

It'd be great if it does that either by default or an output group

Describe alternatives you've considered

Custom rules to extract DeclarationInfo out of ts_project

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions