8d4fe5a0fb
* Simple first version Doesn't cover or test any complicated variations. * Lots of cases work Destructuring does not. But - skipping node_modules and lib.* does. - call expressions does - property access, including with private identifiers, does * Support variable declarations, property assignments, destructuring As long as it's not nested * More cleanup * skip all d.ts, not just node_modules/lib * Offer a codefix for a lot more cases * remove incorrect tuple check * Use getSymbolId instead of converting to string Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> * add test + switch to tracking number symbol ids * Address PR comments * Exclude tuples from suggestion * Better way to get error node Plus add a check that errorNode is an argument to the call, not the call's expression. * fix semicolon lint * fix another crash * Simplify: add undefined to all optional propertie whether or not somebody tried to assign undefined to them in the erroneous assignment * remove fix-all Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> |
||
---|---|---|
.. | ||
cancellationToken | ||
compiler | ||
debug | ||
deprecatedCompat | ||
executeCommandLine | ||
harness | ||
instrumenter | ||
jsTyping | ||
lib | ||
loc/lcl | ||
loggedIO | ||
server | ||
services | ||
shims | ||
testRunner | ||
tsc | ||
tsserver | ||
tsserverlibrary | ||
typescriptServices | ||
typingsInstaller | ||
typingsInstallerCore | ||
watchGuard | ||
webServer | ||
.eslintrc.json | ||
tsconfig-base.json | ||
tsconfig-library-base.json | ||
tsconfig-noncomposite-base.json | ||
tsconfig.json |