You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/cases/fourslash/completionListIsGlobalCompletion.ts
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@
33
33
////const y = <div /*12*/ />; // no globals in jsx attribute found
34
34
////const z = <div =/*13*/ />; // no globals in jsx attribute with syntax error
35
35
////const x = `/*14*/ ${/*15*/}`; // globals only in template expression
36
+
////var user = </*16*/User name=/*17*/{ /*18*/window.isLoggedIn ? window.name : '/*19*/'} />; // globals only in JSX expression (but not in JSX expression strings)
0 commit comments