18 lines
No EOL
343 B
TypeScript
18 lines
No EOL
343 B
TypeScript
//@jsx: react
|
|
//@module: commonjs
|
|
|
|
//@filename: file.tsx
|
|
declare module JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements {
|
|
[s: string]: any;
|
|
}
|
|
}
|
|
|
|
//@filename: test.d.ts
|
|
export var React;
|
|
|
|
//@filename: react-consumer.tsx
|
|
import {React} from "./test";
|
|
// Should emit test_1.React.createElement
|
|
var spread1 = <div />; |