Whitespace
This commit is contained in:
parent
1fa74c56a7
commit
006356d2a3
|
@ -7302,7 +7302,7 @@ namespace ts {
|
|||
// If we're compiling under --jsx react, the symbol 'React' should
|
||||
// be marked as 'used' so we don't incorrectly elide its import. And if there
|
||||
// is no 'React' symbol in scope, we should issue an error.
|
||||
if(compilerOptions.jsx === JsxEmit.React) {
|
||||
if (compilerOptions.jsx === JsxEmit.React) {
|
||||
let reactSym = resolveName(node.tagName, 'React', SymbolFlags.Value, Diagnostics.Cannot_find_name_0, 'React');
|
||||
if (reactSym) {
|
||||
getSymbolLinks(reactSym).referenced = true;
|
||||
|
|
Loading…
Reference in a new issue