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 elide TS imports even when referenced by shadowing variables #342

Merged
merged 1 commit into from
Nov 19, 2018

Commits on Nov 19, 2018

  1. Properly elide TS imports even when referenced by shadowing variables

    Fixes #298
    
    TypeScript is required to remove imports where all bindings are never referenced
    in a value position, but previously it could have false positives when there are
    shadowed variables with the same name. Now, we do the intelligent scope-based
    shadowed global detection like we do with import replacement and properly elide
    when necessary.
    alangpierce committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    ef138e1 View commit details
    Browse the repository at this point in the history