TypeScript/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.types
2021-10-12 16:23:37 -07:00

18 lines
575 B
Plaintext

=== tests/cases/compiler/file.tsx ===
export const a = <div></div>;
>a : error
><div></div> : error
>div : any
>div : any
=== tests/cases/compiler/node_modules/@types/react/index.d.ts ===
declare namespace JSX {
interface IntrinsicElements { [x: string]: any; }
>x : string
}
=== tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts ===
import './';
No type information for this code.=== tests/cases/compiler/node_modules/@types/react/jsx-dev-runtime.d.ts ===
import './';
No type information for this code.
No type information for this code.