Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly transpile exported array destructuring. #1501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 12, 2024

  1. Properly transpile exported array destructuring.

    Before, it was missing a variable declaration after traspilation for identifiers used in alias assignment expressions. The cause was missing exports on actual identifiers that needed import, and ended up getting removed by the passes coming aftewards, because jsdoc_transformer was renaming identifiers destructuring statements, but not the usage of those identifiers properly because exported symbol ends up being used as `exports.identifier_destructured`, but it was being used as `identifier_destructured` pattern.
    
    PiperOrigin-RevId: 597281499
    tsjs-language-eng authored and copybara-github committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    8c58e41 View commit details
    Browse the repository at this point in the history