bef1f9e87f
Previously, it only check for object and any types. This was the old check, so this change updates it to use isValidSpreadType.
7 lines
136 B
TypeScript
7 lines
136 B
TypeScript
// @jsx: react
|
|
const React: any = null;
|
|
class A { a; }
|
|
class C { c; }
|
|
let intersected: A & C;
|
|
let element = <div { ...intersected } />;
|