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

Do not register ambient classes to the TS scope #10352

Merged
merged 2 commits into from Aug 20, 2019

Commits on Aug 17, 2019

  1. Do not register ambient classes to the TS scope

    This is what we already did for ambient functions, since they
    follow complex rules regarding declaration merging.
    This changes effectively disables duplicate declaration errors
    about ambitent classes. While it's not exactly the TypeScript
    compiler's behavior, is a close enough approximation which
    makes it easy for us to allow ambient classes to merge with
    function declarations.
    nicolo-ribaudo committed Aug 17, 2019
    Copy the full SHA
    05e04c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2019

  1. Test babel#10353

    nicolo-ribaudo committed Aug 19, 2019
    Copy the full SHA
    1e8ad49 View commit details
    Browse the repository at this point in the history