17 lines
400 B
TypeScript
17 lines
400 B
TypeScript
//// [file.tsx]
|
|
declare module JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements {
|
|
[s: string]: any;
|
|
}
|
|
}
|
|
declare var React: any;
|
|
|
|
<div>Dot goes here: · ¬AnEntity; </div>;
|
|
<div>Be careful of "-ed strings!</div>;
|
|
|
|
|
|
//// [file.js]
|
|
React.createElement("div", null, "Dot goes here: \u00B7 ¬AnEntity; ");
|
|
React.createElement("div", null, "Be careful of \"-ed strings!");
|