1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
=== tests/cases/compiler/file.tsx ===
class App {}
>App : Symbol(App, Decl(file.tsx, 0, 0))
export const a = <App></App>;
>a : Symbol(a, Decl(file.tsx, 1, 12))
>App : Symbol(App, Decl(file.tsx, 0, 0))
>App : Symbol(App, Decl(file.tsx, 0, 0))
=== tests/cases/compiler/node_modules/@types/react/index.d.ts ===
interface IntrinsicClassAttributesAlias<T> {
>IntrinsicClassAttributesAlias : Symbol(IntrinsicClassAttributesAlias, Decl(index.d.ts, 0, 0))
>T : Symbol(T, Decl(index.d.ts, 0, 40))
ref: T
>ref : Symbol(IntrinsicClassAttributesAlias.ref, Decl(index.d.ts, 0, 44))
>T : Symbol(T, Decl(index.d.ts, 0, 40))
}
declare namespace JSX {
>JSX : Symbol(JSX, Decl(index.d.ts, 2, 1))
type IntrinsicClassAttributes<T> = IntrinsicClassAttributesAlias<T>
>IntrinsicClassAttributes : Symbol(IntrinsicClassAttributes, Decl(index.d.ts, 3, 23))
>T : Symbol(T, Decl(index.d.ts, 4, 34))
>IntrinsicClassAttributesAlias : Symbol(IntrinsicClassAttributesAlias, Decl(index.d.ts, 0, 0))
>T : Symbol(T, Decl(index.d.ts, 4, 34))
}
=== tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts ===
import './';
=== tests/cases/compiler/node_modules/@types/react/jsx-dev-runtime.d.ts ===
import './';
|