swc/tests/tsc-references/jsx/tsxAttributeResolution6x/input.tsx/es5.1.normal/output.js

19 lines
373 B
JavaScript

// Error
/*#__PURE__*/ React.createElement("test1", {
s: true
});
/*#__PURE__*/ React.createElement("test1", {
n: "true"
});
/*#__PURE__*/ React.createElement("test2", null);
// OK
/*#__PURE__*/ React.createElement("test1", {
n: true
});
/*#__PURE__*/ React.createElement("test1", {
n: false
});
/*#__PURE__*/ React.createElement("test2", {
n: true
});