mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
f83eec5c13
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
20 lines
560 B
Plaintext
20 lines
560 B
Plaintext
//// [tests/cases/compiler/asyncJsxArgumentsAttributeName.ts] ////
|
|
|
|
=== test.tsx ===
|
|
declare namespace JSX {
|
|
>JSX : Symbol(JSX, Decl(test.tsx, 0, 0))
|
|
|
|
interface IntrinsicElements { div: any; }
|
|
>IntrinsicElements : Symbol(IntrinsicElements, Decl(test.tsx, 0, 23))
|
|
>div : Symbol(IntrinsicElements.div, Decl(test.tsx, 1, 31))
|
|
}
|
|
|
|
async function f() {
|
|
>f : Symbol(f, Decl(test.tsx, 2, 1))
|
|
|
|
return <div arguments={42} />;
|
|
>div : Symbol(JSX.IntrinsicElements.div, Decl(test.tsx, 1, 31))
|
|
>arguments : Symbol(arguments, Decl(test.tsx, 5, 13))
|
|
}
|
|
|