Files
tsgo/testdata/baselines/reference/compiler/jsxImportSourceCheckJs.symbols
42bb8333a6 Recognize jsxImportSource namespaces in checked JavaScript (#4694)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-07-21 18:11:15 +00:00

22 lines
567 B
Plaintext

//// [tests/cases/compiler/jsxImportSourceCheckJs.ts] ////
=== /node_modules/preact/jsx-runtime/index.d.ts ===
export namespace JSX {
>JSX : Symbol(JSX, Decl(index.d.ts, 0, 0))
interface Element {}
>Element : Symbol(Element, Decl(index.d.ts, 0, 22))
interface IntrinsicElements {
>IntrinsicElements : Symbol(IntrinsicElements, Decl(index.d.ts, 1, 24))
div: {};
>div : Symbol(IntrinsicElements.div, Decl(index.d.ts, 2, 33))
}
}
=== /index.js ===
<div />;
>div : Symbol(JSX.IntrinsicElements.div, Decl(index.d.ts, 2, 33))