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
|
=== tests/cases/compiler/file.tsx ===
class App {}
>App : App
export const a = <App></App>;
>a : any
><App></App> : any
>App : typeof App
>App : typeof App
=== tests/cases/compiler/node_modules/@types/react/index.d.ts ===
interface IntrinsicClassAttributesAlias<T> {
ref: T
>ref : T
}
declare namespace JSX {
type IntrinsicClassAttributes<T> = IntrinsicClassAttributesAlias<T>
>IntrinsicClassAttributes : IntrinsicClassAttributes<T>
}
=== 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 './';
|