19 lines
304 B
TypeScript
19 lines
304 B
TypeScript
|
//@jsx: react
|
||
|
//@target: es6
|
||
|
//@module: commonjs
|
||
|
//@jsxFactory: createElement
|
||
|
//@sourcemap: true
|
||
|
|
||
|
// @filename: test.tsx
|
||
|
declare module JSX {
|
||
|
interface IntrinsicElements {
|
||
|
[s: string]: any;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export class AppComponent {
|
||
|
render() {
|
||
|
return <div />;
|
||
|
}
|
||
|
}
|