Skip to content

In docs, don't show a "Functions" header if it's not going to have any contents #918

Open
@nicolo-ribaudo

Description

@nicolo-ribaudo

https://jsr.io/@babel-test-6ae45912/[email protected]/doc/helpers/arrayWithHoles
Image

This is admittedly a bit of a weird package, as it has no type definitions at all

It also has no exports: it was meant to have exports, but I messed up my publishing script so it ended up publishing as CJS, which from an ESM point of view has no exports. This is however not an unreasonable case, as you might have an actual module that has no exports: it's very common for polyfills.

JSR should not show the "Functions" header, as there are no functions exported by the package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs genRelated to the documentation generationupstreamIssue is in upstream project

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions