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]>
26 lines
848 B
Plaintext
26 lines
848 B
Plaintext
jsxSpreadWithAssertion.tsx(3,11): error TS2875: This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.
|
|
|
|
|
|
==== jsxSpreadWithAssertion.tsx (1 errors) ====
|
|
declare const EntryTextDialog: any;
|
|
|
|
const c = <EntryTextDialog
|
|
~~~~~~~~~~~~~~~~
|
|
{...{
|
|
~~~~~~~~~
|
|
first: 0,
|
|
~~~~~~~~~~~~~~~~~
|
|
foo: 1,
|
|
~~~~~~~~~~~~~~~
|
|
bar: 2 as any,
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
baz: 3,
|
|
~~~~~~~~~~~~~~~
|
|
last: 4
|
|
~~~~~~~~~~~~~~~
|
|
}}
|
|
~~~~~~
|
|
/>
|
|
~~
|
|
!!! error TS2875: This JSX tag requires the module path 'react/jsx-runtime' to exist, but none could be found. Make sure you have types for the appropriate package installed.
|
|
|