Skip to content

function export turn to a type-only declaration #770

@zcf0508

Description

@zcf0508

Reproduction link or steps

source: https://github.com/zcf0508/unplugin-devpilot/blob/v0.0.7/packages/unplugin-devpilot/src/index.ts#L212

dist: https://npmx.dev/package-code/unplugin-devpilot/v/0.0.7/dist%2Findex-BE1u_wvJ.d.mts#L4280

What is expected?

keep function export

What is actually happening?

export a type-only declaration

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdts

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions