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`.
12 lines
179 B
TypeScript
12 lines
179 B
TypeScript
//@jsx: react
|
|
//@target: es6
|
|
//@module: commonjs
|
|
//@reactNamespace: factory
|
|
|
|
//@filename: test.tsx
|
|
export class C {
|
|
factory() {
|
|
return <div></div>;
|
|
}
|
|
}
|