24b39f90c9
The only unsupported one is binding patterns, which aren't supported by the codefix. The code was a lot faster to write without supporting them, but there's no real barrier besides that.
9 lines
219 B
TypeScript
9 lines
219 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
////function f([car, cdr]) {
|
|
//// return car + cdr + 1
|
|
////}
|
|
|
|
// When inferFromUsage supports it, it should infer number for both variables
|
|
verify.getSuggestionDiagnostics([]);
|
|
|