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

fix(ts): skip func-type param start on parsing #14293

Merged
merged 2 commits into from Feb 23, 2022
Merged

Commits on Feb 22, 2022

  1. fix(ts): skip func-type param start on parsing

    Currently we skip the param start at tokenizing level, assuming `}` only matches `{` and `]` only matches `[`. However, as ES evolves such assumptions are no longer valid. Furthermore, we reinterpret `}` as template continuation in parseTemplateSubstitution, therefore, the skip param routine should be moved to parsing level instead of tokenizing.
    JLHwung committed Feb 22, 2022
    Copy the full SHA
    32dcbbe View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Copy the full SHA
    cb694b6 View commit details
    Browse the repository at this point in the history