mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
18 lines
292 B
TypeScript
18 lines
292 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";
|