Skip to content

[api-extractor] Object destructuring causes InternalError #3510

Description

@Zyie

Summary

I am trying to upgrade from 7.20.1 to 7.28.2 and now I get this error.

InternalError: Internal Error: Unable to determine semantic information for declaration

The line it throws on is const { context } = this;

I've tried every minor version since 7.20.1 and all have the same issue

Repro steps

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/api-extractor version? 7.28.2
Operating system? Mac
API Extractor scenario? rollups (.d.ts)
Would you consider contributing a PR? No
TypeScript compiler version? 4.3.0
Node.js version (node -v)? 16.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    AE/AD

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions