TypeScript/tests/cases/conformance/jsx/tsxReactEmitEntities.tsx
2015-12-29 12:39:27 -08:00

12 lines
269 B
TypeScript

//@filename: file.tsx
//@jsx: react
declare module JSX {
interface Element { }
interface IntrinsicElements {
[s: string]: any;
}
}
declare var React: any;
<div>Dot goes here: &middot; &notAnEntity; </div>;
<div>Be careful of &quot;-ed strings!</div>;