TypeScript/tests/cases/conformance/jsx/tsxReactEmitEntities.tsx

14 lines
314 B
TypeScript
Raw Normal View History

//@filename: file.tsx
//@jsx: react
declare module JSX {
interface Element { }
interface IntrinsicElements {
[s: string]: any;
}
}
declare var React: any;
2015-08-20 21:30:12 +02:00
<div>Dot goes here: &middot; &notAnEntity; </div>;
<div>Be careful of &quot;-ed strings!</div>;
<div>&#0123;&#123;braces&#x7d;&#x7D;</div>;