mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
763 B
Plaintext
20 lines
763 B
Plaintext
/bar.jsx(1,17): error TS6142: Module '/foo' was resolved to '/foo.jsx', but '--jsx' is not set.
|
|
/bar.jsx(2,11): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
/foo.jsx(2,5): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
|
|
|
|
==== /foo.jsx (1 errors) ====
|
|
const Foo = () => (
|
|
<div>foo</div>
|
|
~~~~~
|
|
!!! error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
);
|
|
export default Foo;
|
|
|
|
==== /bar.jsx (2 errors) ====
|
|
import Foo from '/foo';
|
|
~~~~~~
|
|
!!! error TS6142: Module '/foo' was resolved to '/foo.jsx', but '--jsx' is not set.
|
|
const a = <Foo />
|
|
~~~~~~~
|
|
!!! error TS17004: Cannot use JSX unless the '--jsx' flag is provided. |