Closed
Description
TypeScript Version: 3.7.x-dev.201xxxxx
Search Terms:
- jsx
- tsx
- Record
- extends
- IntrinsicElements
Code
/* @jsx D.createElement */
import * as D from "./d";
<a />;
// d.ts
export declare namespace JSX {
interface IntrinsicElements extends Record<string, any> {}
}
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
Actual behavior:
Cannot read property 'type' of undefined.
Playground Link:
Related Issues: