Skip to content

documentation chokes on const without initializer in .d.ts file #1569

Open
@mmomtchev

Description

@mmomtchev

In .d.ts it is valid to have a const without an initializer:

export const version: readonly;

but documentation.js chokes on it

Activity

mmomtchev

mmomtchev commented on Oct 27, 2022

@mmomtchev
ContributorAuthor

babel is raising this error: babel/babel#14871

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mmomtchev

        Issue actions

          documentation chokes on `const` without initializer in `.d.ts` file · Issue #1569 · documentationjs/documentation