Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-unused-variable: don't crash at destructuring #3058

Merged
merged 1 commit into from Aug 2, 2017
Merged

no-unused-variable: don't crash at destructuring #3058

merged 1 commit into from Aug 2, 2017

Commits on Jul 19, 2017

  1. no-unused-variable: don't crash at destructuring

    Avoid typescript crash when trying to get type of destructured variable declaration.
    Also avoid walking the AST multiple times when `--declaration` is not enabled. That should result in better performance and fewer false negatives.
    
    [bugfix] `no-unused-variable` fixed crash when using destructuring
    Fixes: #2876
    Fixes: #3001
    ajafff committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    76c32f0 View commit details
    Browse the repository at this point in the history