mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
1bf0f86e30
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
18 lines
637 B
TypeScript
18 lines
637 B
TypeScript
//// [tests/cases/compiler/jsxEntityDecoderAfterNonEntityAmpersand.tsx] ////
|
|
|
|
//// [jsxEntityDecoderAfterNonEntityAmpersand.tsx]
|
|
const a = <div>&&</div>;
|
|
const b = <div>a&b&c&d<e</div>;
|
|
const c = <div>&&</div>;
|
|
const d = <div>&&&</div>;
|
|
const e = <div>a&b&c&</div>;
|
|
|
|
|
|
//// [jsxEntityDecoderAfterNonEntityAmpersand.js]
|
|
"use strict";
|
|
const a = React.createElement("div", null, "&&");
|
|
const b = React.createElement("div", null, "a&b&c&d<e");
|
|
const c = React.createElement("div", null, "&&");
|
|
const d = React.createElement("div", null, "&&&");
|
|
const e = React.createElement("div", null, "a&b&c&");
|