Files
2026-05-18 22:58:40 +00:00

24 lines
460 B
TypeScript

//// [tests/cases/compiler/jsxSpreadWithAssertion.tsx] ////
//// [jsxSpreadWithAssertion.tsx]
declare const EntryTextDialog: any;
const c = <EntryTextDialog
{...{
first: 0,
foo: 1,
bar: 2 as any,
baz: 3,
last: 4
}}
/>
//// [jsxSpreadWithAssertion.js]
import { jsx as _jsx } from "react/jsx-runtime";
const c = _jsx(EntryTextDialog, { first: 0,
foo: 1,
bar: 2,
baz: 3,
last: 4 });