mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
15 lines
291 B
JavaScript
15 lines
291 B
JavaScript
// Error
|
|
/*#__PURE__*/ React.createElement("test1", {
|
|
"data-foo": 32
|
|
});
|
|
// OK
|
|
/*#__PURE__*/ React.createElement("test1", {
|
|
"data-foo": '32'
|
|
});
|
|
/*#__PURE__*/ React.createElement("test1", {
|
|
"data-bar": '32'
|
|
});
|
|
/*#__PURE__*/ React.createElement("test1", {
|
|
"data-bar": 32
|
|
});
|