TypeScript/tests/cases/conformance/jsx/tsxPreserveEmit3.tsx
2016-01-01 09:24:07 -08:00

18 lines
309 B
TypeScript

//@jsx: preserve
//@module: amd
//@filename: file.tsx
declare module JSX {
interface Element { }
interface IntrinsicElements {
[s: string]: any;
}
}
//@filename: test.d.ts
export var React;
//@filename: react-consumer.tsx
// This import should be elided
import {React} from "./test";