mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
342 B
Diff
11 lines
342 B
Diff
--- old.tsxStatelessFunctionComponents1.js
|
|
+++ new.tsxStatelessFunctionComponents1.js
|
|
@@= skipped -95, +95 lines =@@
|
|
let i = <EmptyPropSFC prop1/>;
|
|
let i1 = <EmptyPropSFC ref={x => x.greeting.substr(10)}/>;
|
|
let o = {
|
|
- prop1: true
|
|
+ prop1: true,
|
|
};
|
|
// OK as access properties are allow when spread
|
|
let i2 = <EmptyPropSFC {...o}/>;
|