mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
0a7c6b47e6
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
24 lines
460 B
TypeScript
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 });
|