mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
362 B
TypeScript
22 lines
362 B
TypeScript
//// [tests/cases/conformance/jsx/jsxParsingErrorImmediateSpreadInAttributeValue.tsx] ////
|
|
|
|
//// [a.tsx]
|
|
declare const React: any
|
|
declare namespace JSX {
|
|
interface IntrinsicElements {
|
|
[k: string]: any
|
|
}
|
|
}
|
|
|
|
const X: any
|
|
const a: any
|
|
|
|
<X a={...a} />
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
const X;
|
|
const a;
|
|
React.createElement(X, { a: , a: true });
|