Files
tsgo/testdata/baselines/reference/submodule/compiler/checkJsxNotSetError.symbols
2025-02-26 14:53:49 -08:00

20 lines
414 B
Plaintext

//// [tests/cases/compiler/checkJsxNotSetError.ts] ////
=== /foo.jsx ===
const Foo = () => (
>Foo : Symbol(Foo, Decl(foo.jsx, 0, 5))
<div>foo</div>
);
export default Foo;
>Foo : Symbol(Foo, Decl(foo.jsx, 0, 5))
=== /bar.jsx ===
import Foo from '/foo';
>Foo : Symbol(Foo, Decl(bar.jsx, 0, 6))
const a = <Foo />
>a : Symbol(a, Decl(bar.jsx, 1, 5))
>Foo : Symbol(Foo, Decl(bar.jsx, 0, 6))