3fb481ff40
* Use getAllowSyntheticDefaultImports to access `--allowSyntheticDefaultImport` value * Fix #21788: Handel missing imporotClause case * Fix #21789: Add a defensive check to forgottenThisPropertyAccess code fix for non-identifier locations * Do not suggest prefix with `this` if the name we are looking for is diffrent from the errorLocation * Fix #21796: Handel case of unknown module * Add check to capture more info for #21800 * Fix #21807: check for symbol before looking up its flags * Fix #21812: Gracefully fail if the token is not `this`.
7 lines
133 B
TypeScript
7 lines
133 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: a.ts
|
|
////declare var x: [1, 2];
|
|
////x.b;
|
|
|
|
verify.not.codeFixAvailable();
|